Search in sources :

Example 1 with Literal

use of org.eclipse.jdt.internal.compiler.ast.Literal in project lombok by rzwitserloot.

the class EclipseHandlerUtil method copyAnnotationMemberValue0.

private static Expression copyAnnotationMemberValue0(Expression in) {
    int s = in.sourceStart, e = in.sourceEnd;
    if (in instanceof FalseLiteral)
        return new FalseLiteral(s, e);
    if (in instanceof TrueLiteral)
        return new TrueLiteral(s, e);
    if (in instanceof NullLiteral)
        return new NullLiteral(s, e);
    if (in instanceof CharLiteral)
        return new CharLiteral(((Literal) in).source(), s, e);
    if (in instanceof DoubleLiteral)
        return new DoubleLiteral(((Literal) in).source(), s, e);
    if (in instanceof FloatLiteral)
        return new FloatLiteral(((Literal) in).source(), s, e);
    if (in instanceof IntLiteral)
        return IntLiteral.buildIntLiteral(((Literal) in).source(), s, e);
    if (in instanceof LongLiteral)
        return LongLiteral.buildLongLiteral(((Literal) in).source(), s, e);
    if (in instanceof StringLiteral)
        return new StringLiteral(((Literal) in).source(), s, e, reflectInt(STRING_LITERAL__LINE_NUMBER, in) + 1);
    if (in instanceof ExtendedStringLiteral) {
        StringLiteral str = new StringLiteral(((Literal) in).source(), s, e, reflectInt(STRING_LITERAL__LINE_NUMBER, in) + 1);
        StringLiteral empty = new StringLiteral(new char[0], s, e, reflectInt(STRING_LITERAL__LINE_NUMBER, in) + 1);
        return new ExtendedStringLiteral(str, empty);
    }
    if (in instanceof StringLiteralConcatenation) {
        Expression[] literals = ((StringLiteralConcatenation) in).literals;
        // 0 and 1 len shouldn't happen.
        if (literals.length == 0)
            return new StringLiteral(new char[0], s, e, 0);
        if (literals.length == 1)
            return copyAnnotationMemberValue0(literals[0]);
        StringLiteralConcatenation c = new StringLiteralConcatenation((StringLiteral) literals[0], (StringLiteral) literals[1]);
        for (int i = 2; i < literals.length; i++) c = c.extendsWith((StringLiteral) literals[i]);
        return c;
    }
    if (in instanceof SingleNameReference) {
        SingleNameReference snr = (SingleNameReference) in;
        return new SingleNameReference(snr.token, pos(in));
    }
    if (in instanceof QualifiedNameReference) {
        QualifiedNameReference qnr = (QualifiedNameReference) in;
        return new QualifiedNameReference(qnr.tokens, poss(in, qnr.tokens.length), s, e);
    }
    // class refs
    if (in instanceof ClassLiteralAccess)
        return new ClassLiteralAccess(e, copyType(((ClassLiteralAccess) in).type));
    // arrays
    if (in instanceof ArrayInitializer) {
        ArrayInitializer out = new ArrayInitializer();
        out.sourceStart = s;
        out.sourceEnd = e;
        out.bits = in.bits;
        out.implicitConversion = in.implicitConversion;
        out.statementEnd = e;
        Expression[] exprs = ((ArrayInitializer) in).expressions;
        if (exprs != null) {
            Expression[] copy = new Expression[exprs.length];
            for (int i = 0; i < exprs.length; i++) copy[i] = copyAnnotationMemberValue(exprs[i]);
            out.expressions = copy;
        }
        return out;
    }
    if (in instanceof BinaryExpression) {
        BinaryExpression be = (BinaryExpression) in;
        BinaryExpression out = new BinaryExpression(be);
        out.left = copyAnnotationMemberValue(be.left);
        out.right = copyAnnotationMemberValue(be.right);
        out.sourceStart = s;
        out.sourceEnd = e;
        out.statementEnd = e;
        return out;
    }
    return in;
}
Also used : CharLiteral(org.eclipse.jdt.internal.compiler.ast.CharLiteral) LongLiteral(org.eclipse.jdt.internal.compiler.ast.LongLiteral) FloatLiteral(org.eclipse.jdt.internal.compiler.ast.FloatLiteral) ExtendedStringLiteral(org.eclipse.jdt.internal.compiler.ast.ExtendedStringLiteral) SingleNameReference(org.eclipse.jdt.internal.compiler.ast.SingleNameReference) FalseLiteral(org.eclipse.jdt.internal.compiler.ast.FalseLiteral) TrueLiteral(org.eclipse.jdt.internal.compiler.ast.TrueLiteral) StringLiteral(org.eclipse.jdt.internal.compiler.ast.StringLiteral) ExtendedStringLiteral(org.eclipse.jdt.internal.compiler.ast.ExtendedStringLiteral) BinaryExpression(org.eclipse.jdt.internal.compiler.ast.BinaryExpression) BinaryExpression(org.eclipse.jdt.internal.compiler.ast.BinaryExpression) AllocationExpression(org.eclipse.jdt.internal.compiler.ast.AllocationExpression) EqualExpression(org.eclipse.jdt.internal.compiler.ast.EqualExpression) CastExpression(org.eclipse.jdt.internal.compiler.ast.CastExpression) Expression(org.eclipse.jdt.internal.compiler.ast.Expression) FalseLiteral(org.eclipse.jdt.internal.compiler.ast.FalseLiteral) IntLiteral(org.eclipse.jdt.internal.compiler.ast.IntLiteral) CharLiteral(org.eclipse.jdt.internal.compiler.ast.CharLiteral) StringLiteral(org.eclipse.jdt.internal.compiler.ast.StringLiteral) LongLiteral(org.eclipse.jdt.internal.compiler.ast.LongLiteral) ExtendedStringLiteral(org.eclipse.jdt.internal.compiler.ast.ExtendedStringLiteral) TrueLiteral(org.eclipse.jdt.internal.compiler.ast.TrueLiteral) FloatLiteral(org.eclipse.jdt.internal.compiler.ast.FloatLiteral) NullLiteral(org.eclipse.jdt.internal.compiler.ast.NullLiteral) Literal(org.eclipse.jdt.internal.compiler.ast.Literal) DoubleLiteral(org.eclipse.jdt.internal.compiler.ast.DoubleLiteral) IntLiteral(org.eclipse.jdt.internal.compiler.ast.IntLiteral) DoubleLiteral(org.eclipse.jdt.internal.compiler.ast.DoubleLiteral) NullLiteral(org.eclipse.jdt.internal.compiler.ast.NullLiteral) StringLiteralConcatenation(org.eclipse.jdt.internal.compiler.ast.StringLiteralConcatenation) QualifiedNameReference(org.eclipse.jdt.internal.compiler.ast.QualifiedNameReference) ClassLiteralAccess(org.eclipse.jdt.internal.compiler.ast.ClassLiteralAccess) ArrayInitializer(org.eclipse.jdt.internal.compiler.ast.ArrayInitializer)

Example 2 with Literal

use of org.eclipse.jdt.internal.compiler.ast.Literal in project bazel-jdt-java-toolchain by salesforce.

the class ProblemReporter method expressionNonNullComparison.

/**
 * @param expr expression being compared for null or nonnull
 * @param checkForNull true if checking for null, false if checking for nonnull
 */
public boolean expressionNonNullComparison(Expression expr, boolean checkForNull) {
    int problemId = 0;
    Binding binding = null;
    String[] arguments = null;
    int start = 0, end = 0;
    Expression location = expr;
    if (expr.resolvedType != null) {
        long tagBits = expr.resolvedType.tagBits & TagBits.AnnotationNullMASK;
        if (tagBits == TagBits.AnnotationNonNull) {
            problemId = IProblem.RedundantNullCheckAgainstNonNullType;
            arguments = new String[] { String.valueOf(expr.resolvedType.nullAnnotatedReadableName(this.options, true)) };
            start = nodeSourceStart(location);
            end = nodeSourceEnd(location);
            handle(problemId, arguments, arguments, start, end);
            return true;
        }
    }
    // unwrap uninteresting nodes:
    while (true) {
        if (expr instanceof Assignment)
            // don't report against the assignment, but the variable
            return false;
        else if (expr instanceof CastExpression)
            expr = ((CastExpression) expr).expression;
        else
            break;
    }
    // check all those kinds of expressions that can possible answer NON_NULL from nullStatus():
    if (expr instanceof MessageSend) {
        problemId = checkForNull ? IProblem.NonNullMessageSendComparisonYieldsFalse : IProblem.RedundantNullCheckOnNonNullMessageSend;
        MethodBinding method = ((MessageSend) expr).binding;
        binding = method;
        arguments = new String[] { new String(method.shortReadableName()) };
        start = location.sourceStart;
        end = location.sourceEnd;
    } else if (expr instanceof Reference && !(expr instanceof ThisReference) && !(expr instanceof ArrayReference)) {
        FieldBinding field = ((Reference) expr).lastFieldBinding();
        if (field == null) {
            return false;
        }
        if (field.isNonNull()) {
            problemId = checkForNull ? IProblem.NonNullSpecdFieldComparisonYieldsFalse : IProblem.RedundantNullCheckOnNonNullSpecdField;
            char[][] nonNullName = this.options.nonNullAnnotationName;
            arguments = new String[] { new String(field.name), new String(nonNullName[nonNullName.length - 1]) };
        } else if (field.constant() != Constant.NotAConstant) {
            problemId = checkForNull ? IProblem.ConstNonNullFieldComparisonYieldsFalse : IProblem.RedundantNullCheckOnConstNonNullField;
            char[][] nonNullName = this.options.nonNullAnnotationName;
            arguments = new String[] { new String(field.name), new String(nonNullName[nonNullName.length - 1]) };
        } else {
            // signaling redundancy based on syntactic analysis:
            problemId = checkForNull ? IProblem.FieldComparisonYieldsFalse : IProblem.RedundantNullCheckOnField;
            arguments = new String[] { String.valueOf(field.name) };
        }
        binding = field;
        start = nodeSourceStart(binding, location);
        end = nodeSourceEnd(binding, location);
    } else if (expr instanceof AllocationExpression || expr instanceof ArrayAllocationExpression || expr instanceof ArrayInitializer || expr instanceof ClassLiteralAccess || expr instanceof ThisReference) {
    // fall through to bottom
    } else if (expr instanceof Literal || expr instanceof ConditionalExpression || expr instanceof SwitchExpression) {
        if (expr instanceof NullLiteral) {
            // reported as nonnull??
            needImplementation(location);
            return false;
        }
        if (expr.resolvedType != null && expr.resolvedType.isBaseType()) {
            // false alarm, auto(un)boxing is involved
            return false;
        }
    // fall through to bottom
    } else if (expr instanceof BinaryExpression) {
        if ((expr.bits & ASTNode.ReturnTypeIDMASK) != TypeIds.T_JavaLangString) {
            // false alarm, primitive types involved, must be auto(un)boxing?
            return false;
        }
    // fall through to bottom
    } else {
        // want to see if we get here
        needImplementation(expr);
        return false;
    }
    if (problemId == 0) {
        // standard case, fill in details now
        problemId = checkForNull ? IProblem.NonNullExpressionComparisonYieldsFalse : IProblem.RedundantNullCheckOnNonNullExpression;
        start = location.sourceStart;
        end = location.sourceEnd;
        arguments = NoArgument;
    }
    this.handle(problemId, arguments, arguments, start, end);
    return true;
}
Also used : LocalVariableBinding(org.eclipse.jdt.internal.compiler.lookup.LocalVariableBinding) FieldBinding(org.eclipse.jdt.internal.compiler.lookup.FieldBinding) TypeBinding(org.eclipse.jdt.internal.compiler.lookup.TypeBinding) MethodBinding(org.eclipse.jdt.internal.compiler.lookup.MethodBinding) ArrayBinding(org.eclipse.jdt.internal.compiler.lookup.ArrayBinding) AnnotationBinding(org.eclipse.jdt.internal.compiler.lookup.AnnotationBinding) WildcardBinding(org.eclipse.jdt.internal.compiler.lookup.WildcardBinding) SyntheticArgumentBinding(org.eclipse.jdt.internal.compiler.lookup.SyntheticArgumentBinding) Binding(org.eclipse.jdt.internal.compiler.lookup.Binding) ProblemMethodBinding(org.eclipse.jdt.internal.compiler.lookup.ProblemMethodBinding) ProblemReferenceBinding(org.eclipse.jdt.internal.compiler.lookup.ProblemReferenceBinding) PackageBinding(org.eclipse.jdt.internal.compiler.lookup.PackageBinding) ParameterizedGenericMethodBinding(org.eclipse.jdt.internal.compiler.lookup.ParameterizedGenericMethodBinding) RecordComponentBinding(org.eclipse.jdt.internal.compiler.lookup.RecordComponentBinding) ModuleBinding(org.eclipse.jdt.internal.compiler.lookup.ModuleBinding) ParameterizedTypeBinding(org.eclipse.jdt.internal.compiler.lookup.ParameterizedTypeBinding) VariableBinding(org.eclipse.jdt.internal.compiler.lookup.VariableBinding) SplitPackageBinding(org.eclipse.jdt.internal.compiler.lookup.SplitPackageBinding) SourceTypeBinding(org.eclipse.jdt.internal.compiler.lookup.SourceTypeBinding) CaptureBinding(org.eclipse.jdt.internal.compiler.lookup.CaptureBinding) TypeVariableBinding(org.eclipse.jdt.internal.compiler.lookup.TypeVariableBinding) ReferenceBinding(org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding) ArrayAllocationExpression(org.eclipse.jdt.internal.compiler.ast.ArrayAllocationExpression) ArrayReference(org.eclipse.jdt.internal.compiler.ast.ArrayReference) SwitchExpression(org.eclipse.jdt.internal.compiler.ast.SwitchExpression) NameReference(org.eclipse.jdt.internal.compiler.ast.NameReference) TypeReference(org.eclipse.jdt.internal.compiler.ast.TypeReference) SingleNameReference(org.eclipse.jdt.internal.compiler.ast.SingleNameReference) ThisReference(org.eclipse.jdt.internal.compiler.ast.ThisReference) ArrayQualifiedTypeReference(org.eclipse.jdt.internal.compiler.ast.ArrayQualifiedTypeReference) ArrayTypeReference(org.eclipse.jdt.internal.compiler.ast.ArrayTypeReference) Reference(org.eclipse.jdt.internal.compiler.ast.Reference) QualifiedNameReference(org.eclipse.jdt.internal.compiler.ast.QualifiedNameReference) ModuleReference(org.eclipse.jdt.internal.compiler.ast.ModuleReference) QualifiedSuperReference(org.eclipse.jdt.internal.compiler.ast.QualifiedSuperReference) ParameterizedSingleTypeReference(org.eclipse.jdt.internal.compiler.ast.ParameterizedSingleTypeReference) ArrayReference(org.eclipse.jdt.internal.compiler.ast.ArrayReference) QualifiedTypeReference(org.eclipse.jdt.internal.compiler.ast.QualifiedTypeReference) FieldReference(org.eclipse.jdt.internal.compiler.ast.FieldReference) ParameterizedQualifiedTypeReference(org.eclipse.jdt.internal.compiler.ast.ParameterizedQualifiedTypeReference) ImportReference(org.eclipse.jdt.internal.compiler.ast.ImportReference) ConditionalExpression(org.eclipse.jdt.internal.compiler.ast.ConditionalExpression) ThisReference(org.eclipse.jdt.internal.compiler.ast.ThisReference) CompoundAssignment(org.eclipse.jdt.internal.compiler.ast.CompoundAssignment) Assignment(org.eclipse.jdt.internal.compiler.ast.Assignment) MessageSend(org.eclipse.jdt.internal.compiler.ast.MessageSend) BinaryExpression(org.eclipse.jdt.internal.compiler.ast.BinaryExpression) BinaryExpression(org.eclipse.jdt.internal.compiler.ast.BinaryExpression) InstanceOfExpression(org.eclipse.jdt.internal.compiler.ast.InstanceOfExpression) LambdaExpression(org.eclipse.jdt.internal.compiler.ast.LambdaExpression) SwitchExpression(org.eclipse.jdt.internal.compiler.ast.SwitchExpression) FunctionalExpression(org.eclipse.jdt.internal.compiler.ast.FunctionalExpression) ReferenceExpression(org.eclipse.jdt.internal.compiler.ast.ReferenceExpression) AllocationExpression(org.eclipse.jdt.internal.compiler.ast.AllocationExpression) EqualExpression(org.eclipse.jdt.internal.compiler.ast.EqualExpression) CastExpression(org.eclipse.jdt.internal.compiler.ast.CastExpression) Expression(org.eclipse.jdt.internal.compiler.ast.Expression) ArrayAllocationExpression(org.eclipse.jdt.internal.compiler.ast.ArrayAllocationExpression) QualifiedAllocationExpression(org.eclipse.jdt.internal.compiler.ast.QualifiedAllocationExpression) ConditionalExpression(org.eclipse.jdt.internal.compiler.ast.ConditionalExpression) UnaryExpression(org.eclipse.jdt.internal.compiler.ast.UnaryExpression) AllocationExpression(org.eclipse.jdt.internal.compiler.ast.AllocationExpression) ArrayAllocationExpression(org.eclipse.jdt.internal.compiler.ast.ArrayAllocationExpression) QualifiedAllocationExpression(org.eclipse.jdt.internal.compiler.ast.QualifiedAllocationExpression) NullLiteral(org.eclipse.jdt.internal.compiler.ast.NullLiteral) Literal(org.eclipse.jdt.internal.compiler.ast.Literal) FieldBinding(org.eclipse.jdt.internal.compiler.lookup.FieldBinding) MethodBinding(org.eclipse.jdt.internal.compiler.lookup.MethodBinding) ProblemMethodBinding(org.eclipse.jdt.internal.compiler.lookup.ProblemMethodBinding) ParameterizedGenericMethodBinding(org.eclipse.jdt.internal.compiler.lookup.ParameterizedGenericMethodBinding) CastExpression(org.eclipse.jdt.internal.compiler.ast.CastExpression) NullLiteral(org.eclipse.jdt.internal.compiler.ast.NullLiteral) ClassLiteralAccess(org.eclipse.jdt.internal.compiler.ast.ClassLiteralAccess) ArrayInitializer(org.eclipse.jdt.internal.compiler.ast.ArrayInitializer)

Example 3 with Literal

use of org.eclipse.jdt.internal.compiler.ast.Literal in project lombok by projectlombok.

the class EclipseHandlerUtil method copyAnnotationMemberValue0.

private static Expression copyAnnotationMemberValue0(Expression in) {
    int s = in.sourceStart, e = in.sourceEnd;
    if (in instanceof FalseLiteral)
        return new FalseLiteral(s, e);
    if (in instanceof TrueLiteral)
        return new TrueLiteral(s, e);
    if (in instanceof NullLiteral)
        return new NullLiteral(s, e);
    if (in instanceof CharLiteral)
        return new CharLiteral(((Literal) in).source(), s, e);
    if (in instanceof DoubleLiteral)
        return new DoubleLiteral(((Literal) in).source(), s, e);
    if (in instanceof FloatLiteral)
        return new FloatLiteral(((Literal) in).source(), s, e);
    if (in instanceof IntLiteral)
        return IntLiteral.buildIntLiteral(((Literal) in).source(), s, e);
    if (in instanceof LongLiteral)
        return LongLiteral.buildLongLiteral(((Literal) in).source(), s, e);
    if (in instanceof StringLiteral)
        return new StringLiteral(((Literal) in).source(), s, e, reflectInt(STRING_LITERAL__LINE_NUMBER, in) + 1);
    if (in instanceof ExtendedStringLiteral) {
        StringLiteral str = new StringLiteral(((Literal) in).source(), s, e, reflectInt(STRING_LITERAL__LINE_NUMBER, in) + 1);
        StringLiteral empty = new StringLiteral(new char[0], s, e, reflectInt(STRING_LITERAL__LINE_NUMBER, in) + 1);
        return new ExtendedStringLiteral(str, empty);
    }
    if (in instanceof StringLiteralConcatenation) {
        Expression[] literals = ((StringLiteralConcatenation) in).literals;
        // 0 and 1 len shouldn't happen.
        if (literals.length == 0)
            return new StringLiteral(new char[0], s, e, 0);
        if (literals.length == 1)
            return copyAnnotationMemberValue0(literals[0]);
        StringLiteralConcatenation c = new StringLiteralConcatenation((StringLiteral) literals[0], (StringLiteral) literals[1]);
        for (int i = 2; i < literals.length; i++) c = c.extendsWith((StringLiteral) literals[i]);
        return c;
    }
    if (in instanceof SingleNameReference) {
        SingleNameReference snr = (SingleNameReference) in;
        return new SingleNameReference(snr.token, pos(in));
    }
    if (in instanceof QualifiedNameReference) {
        QualifiedNameReference qnr = (QualifiedNameReference) in;
        return new QualifiedNameReference(qnr.tokens, poss(in, qnr.tokens.length), s, e);
    }
    // class refs
    if (in instanceof ClassLiteralAccess)
        return new ClassLiteralAccess(e, copyType(((ClassLiteralAccess) in).type));
    // arrays
    if (in instanceof ArrayInitializer) {
        ArrayInitializer out = new ArrayInitializer();
        out.sourceStart = s;
        out.sourceEnd = e;
        out.bits = in.bits;
        out.implicitConversion = in.implicitConversion;
        out.statementEnd = e;
        Expression[] exprs = ((ArrayInitializer) in).expressions;
        if (exprs != null) {
            Expression[] copy = new Expression[exprs.length];
            for (int i = 0; i < exprs.length; i++) copy[i] = copyAnnotationMemberValue(exprs[i]);
            out.expressions = copy;
        }
        return out;
    }
    if (in instanceof BinaryExpression) {
        BinaryExpression be = (BinaryExpression) in;
        BinaryExpression out = new BinaryExpression(be);
        out.left = copyAnnotationMemberValue(be.left);
        out.right = copyAnnotationMemberValue(be.right);
        out.sourceStart = s;
        out.sourceEnd = e;
        out.statementEnd = e;
        return out;
    }
    return in;
}
Also used : CharLiteral(org.eclipse.jdt.internal.compiler.ast.CharLiteral) LongLiteral(org.eclipse.jdt.internal.compiler.ast.LongLiteral) FloatLiteral(org.eclipse.jdt.internal.compiler.ast.FloatLiteral) ExtendedStringLiteral(org.eclipse.jdt.internal.compiler.ast.ExtendedStringLiteral) SingleNameReference(org.eclipse.jdt.internal.compiler.ast.SingleNameReference) FalseLiteral(org.eclipse.jdt.internal.compiler.ast.FalseLiteral) TrueLiteral(org.eclipse.jdt.internal.compiler.ast.TrueLiteral) StringLiteral(org.eclipse.jdt.internal.compiler.ast.StringLiteral) ExtendedStringLiteral(org.eclipse.jdt.internal.compiler.ast.ExtendedStringLiteral) BinaryExpression(org.eclipse.jdt.internal.compiler.ast.BinaryExpression) BinaryExpression(org.eclipse.jdt.internal.compiler.ast.BinaryExpression) AllocationExpression(org.eclipse.jdt.internal.compiler.ast.AllocationExpression) EqualExpression(org.eclipse.jdt.internal.compiler.ast.EqualExpression) CastExpression(org.eclipse.jdt.internal.compiler.ast.CastExpression) Expression(org.eclipse.jdt.internal.compiler.ast.Expression) FalseLiteral(org.eclipse.jdt.internal.compiler.ast.FalseLiteral) IntLiteral(org.eclipse.jdt.internal.compiler.ast.IntLiteral) CharLiteral(org.eclipse.jdt.internal.compiler.ast.CharLiteral) StringLiteral(org.eclipse.jdt.internal.compiler.ast.StringLiteral) LongLiteral(org.eclipse.jdt.internal.compiler.ast.LongLiteral) ExtendedStringLiteral(org.eclipse.jdt.internal.compiler.ast.ExtendedStringLiteral) TrueLiteral(org.eclipse.jdt.internal.compiler.ast.TrueLiteral) FloatLiteral(org.eclipse.jdt.internal.compiler.ast.FloatLiteral) NullLiteral(org.eclipse.jdt.internal.compiler.ast.NullLiteral) Literal(org.eclipse.jdt.internal.compiler.ast.Literal) DoubleLiteral(org.eclipse.jdt.internal.compiler.ast.DoubleLiteral) IntLiteral(org.eclipse.jdt.internal.compiler.ast.IntLiteral) DoubleLiteral(org.eclipse.jdt.internal.compiler.ast.DoubleLiteral) NullLiteral(org.eclipse.jdt.internal.compiler.ast.NullLiteral) StringLiteralConcatenation(org.eclipse.jdt.internal.compiler.ast.StringLiteralConcatenation) QualifiedNameReference(org.eclipse.jdt.internal.compiler.ast.QualifiedNameReference) ClassLiteralAccess(org.eclipse.jdt.internal.compiler.ast.ClassLiteralAccess) ArrayInitializer(org.eclipse.jdt.internal.compiler.ast.ArrayInitializer)

Aggregations

AllocationExpression (org.eclipse.jdt.internal.compiler.ast.AllocationExpression)3 ArrayInitializer (org.eclipse.jdt.internal.compiler.ast.ArrayInitializer)3 BinaryExpression (org.eclipse.jdt.internal.compiler.ast.BinaryExpression)3 CastExpression (org.eclipse.jdt.internal.compiler.ast.CastExpression)3 ClassLiteralAccess (org.eclipse.jdt.internal.compiler.ast.ClassLiteralAccess)3 EqualExpression (org.eclipse.jdt.internal.compiler.ast.EqualExpression)3 Expression (org.eclipse.jdt.internal.compiler.ast.Expression)3 Literal (org.eclipse.jdt.internal.compiler.ast.Literal)3 NullLiteral (org.eclipse.jdt.internal.compiler.ast.NullLiteral)3 QualifiedNameReference (org.eclipse.jdt.internal.compiler.ast.QualifiedNameReference)3 SingleNameReference (org.eclipse.jdt.internal.compiler.ast.SingleNameReference)3 CharLiteral (org.eclipse.jdt.internal.compiler.ast.CharLiteral)2 DoubleLiteral (org.eclipse.jdt.internal.compiler.ast.DoubleLiteral)2 ExtendedStringLiteral (org.eclipse.jdt.internal.compiler.ast.ExtendedStringLiteral)2 FalseLiteral (org.eclipse.jdt.internal.compiler.ast.FalseLiteral)2 FloatLiteral (org.eclipse.jdt.internal.compiler.ast.FloatLiteral)2 IntLiteral (org.eclipse.jdt.internal.compiler.ast.IntLiteral)2 LongLiteral (org.eclipse.jdt.internal.compiler.ast.LongLiteral)2 ArrayAllocationExpression (org.eclipse.jdt.internal.compiler.ast.ArrayAllocationExpression)1 ArrayQualifiedTypeReference (org.eclipse.jdt.internal.compiler.ast.ArrayQualifiedTypeReference)1