Package com.github.antlrjavaparser.api.type

Examples of com.github.antlrjavaparser.api.type.VoidType


    public static Type getType(final JavaType javaType) {
        Validate.notNull(javaType, "Java type required");
        Validate.isTrue(javaType.isPrimitive(),
                "Java type must be primitive to be presented to this method");
        if (javaType.equals(JavaType.VOID_PRIMITIVE)) {
            return new VoidType();
        }
        else if (javaType.equals(JavaType.BOOLEAN_PRIMITIVE)) {
            return new PrimitiveType(Primitive.Boolean);
        }
        else if (javaType.equals(JavaType.BYTE_PRIMITIVE)) {
View Full Code Here

TOP

Related Classes of com.github.antlrjavaparser.api.type.VoidType

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.