Package org.adjective.syntactic.parser.type

Examples of org.adjective.syntactic.parser.type.SimpleJavaType


    @Override
    public JavaType getType()
    {
        if (isEmpty())
        {
            return new SimpleJavaType("Object");
        }
        if (isWildcard())
        {
            return getFirstChild().as(ASTWildcardBounds.class).getType();
        }
View Full Code Here


        }

        ParameterizedName[] name = new ParameterizedName[type.getParameterizedTypeName().length];
        System.arraycopy(type.getParameterizedTypeName(), 0, name, 0, name.length - 1);
        name[name.length - 1] = new SimpleParameterizedName(lastName.getName(), classParameters);
        return new SimpleJavaType(name, type.getArrayDepth());
    }
View Full Code Here

        return makeMethodCall(target, methodName, arguments);
    }

    private ExpressionNode makeMethodBody(final MethodInfo method, final TypeInfo refType, final ASTMemberReference reference)
    {
        final SimpleJavaType javaType = new SimpleJavaType(refType.getName());
        final ASTArguments arguments = getArguments(method);
        if (reference.isConstructorReference())
        {
            return new ASTAllocationExpression(javaType, arguments, null);
        }
View Full Code Here

    {
        final JavaType[] types = new JavaType[jjtGetNumChildren()];
        int i = 0;
        for (ASTQualifiedIdentifier name : getNames())
        {
            types[i++] = new SimpleJavaType(name);
        }
        return types;
    }
View Full Code Here

            {
                outputParameters[j] = new SimpleTypeParameter(TypeParameter.Kind.EXACT, inputParameters[j].getType());
            }
            outputName[i] = new SimpleParameterizedName(inputName[i].getName(), outputParameters);
        }
        return new SimpleJavaType(outputName, forType.getArrayDepth());
    }
View Full Code Here

TOP

Related Classes of org.adjective.syntactic.parser.type.SimpleJavaType

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.