|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.aspectj.org.eclipse.jdt.internal.compiler.ast.ASTNode
org.aspectj.org.eclipse.jdt.internal.compiler.ast.Statement
org.aspectj.org.eclipse.jdt.internal.compiler.ast.Expression
org.aspectj.org.eclipse.jdt.internal.compiler.ast.TypeReference
org.aspectj.org.eclipse.jdt.internal.compiler.ast.QualifiedTypeReference
org.aspectj.org.eclipse.jdt.internal.compiler.ast.ArrayQualifiedTypeReference
public class ArrayQualifiedTypeReference
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.aspectj.org.eclipse.jdt.internal.compiler.lookup.TypeConstants |
|---|
TypeConstants.CloseMethodRecord |
| Field Summary | |
|---|---|
int |
extendedDimensions
|
| Fields inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.ast.QualifiedTypeReference |
|---|
sourcePositions, tokens |
| Fields inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.ast.TypeReference |
|---|
annotations, NO_TYPE_ARGUMENTS |
| Fields inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.ast.Expression |
|---|
constant, implicitConversion, resolvedType, statementEnd |
| Fields inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.ast.Statement |
|---|
COMPLAINED_FAKE_REACHABLE, COMPLAINED_UNREACHABLE, NOT_COMPLAINED |
| Constructor Summary | |
|---|---|
ArrayQualifiedTypeReference(char[][] sources,
int dim,
Annotation[][] annotationsOnDimensions,
long[] poss)
|
|
ArrayQualifiedTypeReference(char[][] sources,
int dim,
long[] poss)
|
|
| Method Summary | |
|---|---|
int |
dimensions()
|
int |
extraDimensions()
This method is used to return the array dimension declared after the name of a local or a field declaration. |
Annotation[][] |
getAnnotationsOnDimensions(boolean useSourceOrder)
|
char[][] |
getParameterizedTypeName()
|
protected TypeBinding |
getTypeBinding(Scope scope)
|
protected TypeBinding |
internalResolveType(Scope scope,
int location)
|
java.lang.StringBuffer |
printExpression(int indent,
java.lang.StringBuffer output)
|
void |
setAnnotationsOnDimensions(Annotation[][] annotationsOnDimensions)
|
void |
traverse(ASTVisitor visitor,
BlockScope scope)
Traverse an expression in the context of a blockScope |
void |
traverse(ASTVisitor visitor,
ClassScope scope)
Traverse an expression in the context of a classScope |
| Methods inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.ast.QualifiedTypeReference |
|---|
augmentTypeWithAdditionalDimensions, findNextTypeBinding, getAnnotatableLevels, getLastToken, getTypeName, rejectAnnotationsOnPackageQualifiers, rejectAnnotationsOnStaticMemberQualififer |
| Methods inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.ast.Statement |
|---|
analyseArguments, branchChainTo, checkAgainstNullTypeAnnotation, complainIfUnreachable, expectedType, findConstructorBinding, generateArguments, getExpressionContext, invocationTargetType, isBoxingCompatible, isEmptyBlock, isKnowDeadCodePattern, isValidJavaStatement, recordExceptionsForEnclosingLambda, resolveCase |
| Methods inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.ast.ASTNode |
|---|
checkInvocationArguments, concreteStatement, copySE8AnnotationsToType, isFieldUseDeprecated, isImplicitThis, isMethodUseDeprecated, isSuper, isThis, isTypeUseDeprecated, isUnqualifiedSuper, printAnnotations, printIndent, printModifiers, receiverIsImplicitThis, resolveAnnotations, resolveAnnotations, resolveAnnotations, resolveDeprecatedAnnotations, resolvePolyExpressionArguments, resolvePolyExpressionArguments, sourceEnd, sourceStart, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public int extendedDimensions
| Constructor Detail |
|---|
public ArrayQualifiedTypeReference(char[][] sources,
int dim,
long[] poss)
public ArrayQualifiedTypeReference(char[][] sources,
int dim,
Annotation[][] annotationsOnDimensions,
long[] poss)
| Method Detail |
|---|
public int dimensions()
dimensions in class TypeReferencepublic int extraDimensions()
TypeReference
extraDimensions in class TypeReferencepublic Annotation[][] getAnnotationsOnDimensions(boolean useSourceOrder)
getAnnotationsOnDimensions in class TypeReferenceuseSourceOrder - if true annotations on dimensions are returned in source order, otherwise they are returned per
how they ought to be interpreted by a type system, or external persistence view. For example, given the following:
int @Nullable [] f @NonNull [] ==> f is really a @NonNull array of @Nullable arrays of ints. This is the type system
view since extended dimensions bind more readily than type components that precede the identifier. This is how it ought
to be encoded in bindings and how it ought to be persisted in class files. However for DOM/AST construction, we need the
dimensions in source order, so we provide a way for the clients to ask what they want.TypeReference.getAnnotationsOnDimensions(boolean)public void setAnnotationsOnDimensions(Annotation[][] annotationsOnDimensions)
setAnnotationsOnDimensions in class TypeReferencepublic char[][] getParameterizedTypeName()
getParameterizedTypeName in class TypeReferenceprotected TypeBinding getTypeBinding(Scope scope)
getTypeBinding in class QualifiedTypeReference
protected TypeBinding internalResolveType(Scope scope,
int location)
internalResolveType in class TypeReference
public java.lang.StringBuffer printExpression(int indent,
java.lang.StringBuffer output)
printExpression in class QualifiedTypeReference
public void traverse(ASTVisitor visitor,
BlockScope scope)
Expression
traverse in class QualifiedTypeReference
public void traverse(ASTVisitor visitor,
ClassScope scope)
Expression
traverse in class QualifiedTypeReference
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||