| Modifier and Type | Class and Description |
|---|---|
class |
ContainerAnnotation |
class |
MarkerAnnotation |
class |
NormalAnnotation
Normal annotation node
|
class |
SingleMemberAnnotation
SingleMemberAnnotation node
|
| Modifier and Type | Field and Description |
|---|---|
Annotation[] |
ImportReference.annotations |
Annotation[] |
AbstractMethodDeclaration.annotations |
Annotation[] |
AbstractVariableDeclaration.annotations |
Annotation[] |
TypeDeclaration.annotations |
Annotation[][] |
TypeReference.annotations |
Annotation[][] |
ArrayAllocationExpression.annotationsOnDimensions |
| Modifier and Type | Method and Description |
|---|---|
Annotation |
TypeReference.findAnnotation(long nullTagBits)
Retrieve the null annotation that has been translated to the given nullTagBits.
|
Annotation[][] |
ArrayAllocationExpression.getAnnotationsOnDimensions() |
Annotation[][] |
TypeReference.getAnnotationsOnDimensions() |
Annotation[][] |
ArrayTypeReference.getAnnotationsOnDimensions(boolean useSourceOrder) |
Annotation[][] |
ArrayQualifiedTypeReference.getAnnotationsOnDimensions(boolean useSourceOrder) |
Annotation[][] |
TypeReference.getAnnotationsOnDimensions(boolean useSourceOrder) |
protected Annotation[][] |
TypeReference.getMergedAnnotationsOnDimensions(int additionalDimensions,
Annotation[][] additionalAnnotations) |
Annotation |
Annotation.getPersistibleAnnotation() |
| Modifier and Type | Method and Description |
|---|---|
void |
ContainerAnnotation.addContainee(Annotation repeatingAnnotation) |
TypeReference |
ParameterizedQualifiedTypeReference.augmentTypeWithAdditionalDimensions(int additionalDimensions,
Annotation[][] additionalAnnotations,
boolean isVarargs) |
TypeReference |
IntersectionCastTypeReference.augmentTypeWithAdditionalDimensions(int additionalDimensions,
Annotation[][] additionalAnnotations,
boolean isVarargs) |
TypeReference |
JavadocImplicitTypeReference.augmentTypeWithAdditionalDimensions(int additionalDimensions,
Annotation[][] additionalAnnotations,
boolean isVarargs) |
TypeReference |
UnionTypeReference.augmentTypeWithAdditionalDimensions(int additionalDimensions,
Annotation[][] additionalAnnotations,
boolean isVarargs) |
TypeReference |
QualifiedTypeReference.augmentTypeWithAdditionalDimensions(int additionalDimensions,
Annotation[][] additionalAnnotations,
boolean isVarargs) |
TypeReference |
SingleTypeReference.augmentTypeWithAdditionalDimensions(int additionalDimensions,
Annotation[][] additionalAnnotations,
boolean isVarargs) |
TypeReference |
ParameterizedSingleTypeReference.augmentTypeWithAdditionalDimensions(int additionalDimensions,
Annotation[][] additionalAnnotations,
boolean isVarargs) |
abstract TypeReference |
TypeReference.augmentTypeWithAdditionalDimensions(int additionalDimensions,
Annotation[][] additionalAnnotations,
boolean isVarargs) |
static TypeReference |
TypeReference.baseTypeReference(int baseType,
int dim,
Annotation[][] dimAnnotations) |
static void |
Annotation.checkContainingAnnotationTargetAtUse(Annotation repeatingAnnotation,
BlockScope scope,
TypeBinding containerAnnotationType,
TypeBinding repeatingAnnotationType) |
static void |
Annotation.checkForInstancesOfRepeatableWithRepeatingContainerAnnotation(BlockScope scope,
ReferenceBinding repeatedAnnotationType,
Annotation[] sourceAnnotations)
Check to see if a repeating annotation is in fact of a container annotation type for an annotation which is also present at the same target.
|
static void |
ASTNode.copySE8AnnotationsToType(BlockScope scope,
Binding recipient,
Annotation[] annotations,
boolean isLegalLocation) |
void |
TypeReference.getAllAnnotationContexts(int targetType,
int info,
List allAnnotationContexts,
Annotation[] se7Annotations) |
void |
TypeReference.getAllAnnotationContexts(int targetType,
int info,
List allAnnotationContexts,
Annotation[][] annotationsOnDimensions,
int dimensions)
info can be either a type index (superclass/superinterfaces) or a pc into the bytecode
|
static int[] |
Annotation.getLocations(Expression reference,
Annotation annotation)
Return the location for the corresponding annotation inside the type reference,
null if none. |
protected Annotation[][] |
TypeReference.getMergedAnnotationsOnDimensions(int additionalDimensions,
Annotation[][] additionalAnnotations) |
static void |
Annotation.isTypeUseCompatible(TypeReference reference,
Scope scope,
Annotation[] annotations) |
static StringBuffer |
ASTNode.printAnnotations(Annotation[] annotations,
StringBuffer output) |
void |
CompilationUnitDeclaration.recordSuppressWarnings(IrritantSet irritants,
Annotation annotation,
int scopeStart,
int scopeEnd,
ReferenceContext context) |
protected static void |
QualifiedTypeReference.rejectAnnotationsOnStaticMemberQualififer(Scope scope,
ReferenceBinding currentType,
Annotation[] qualifierAnnot) |
static TypeBinding |
ASTNode.resolveAnnotations(BlockScope scope,
Annotation[][] sourceAnnotations,
TypeBinding type)
Resolve JSR308 annotations on a type reference, array creation expression or a wildcard.
|
static void |
ASTNode.resolveAnnotations(BlockScope scope,
Annotation[] sourceAnnotations,
Binding recipient) |
static AnnotationBinding[] |
ASTNode.resolveAnnotations(BlockScope scope,
Annotation[] sourceAnnotations,
Binding recipient,
boolean copySE8AnnotationsToType)
Resolve annotations, and check duplicates, answers combined tagBits
for recognized standard annotations.
|
static void |
ASTNode.resolveDeprecatedAnnotations(BlockScope scope,
Annotation[] annotations,
Binding recipient)
Figures if @Deprecated annotation is specified, do not resolve entire annotations.
|
void |
ArrayTypeReference.setAnnotationsOnDimensions(Annotation[][] annotationsOnDimensions) |
void |
ArrayQualifiedTypeReference.setAnnotationsOnDimensions(Annotation[][] annotationsOnDimensions) |
void |
TypeReference.setAnnotationsOnDimensions(Annotation[][] annotationsOnDimensions) |
| Constructor and Description |
|---|
ArrayQualifiedTypeReference(char[][] sources,
int dim,
Annotation[][] annotationsOnDimensions,
long[] poss) |
ArrayTypeReference(char[] source,
int dimensions,
Annotation[][] annotationsOnDimensions,
long pos) |
ContainerAnnotation(Annotation repeatingAnnotation,
ReferenceBinding containerAnnotationType,
BlockScope scope) |
ParameterizedQualifiedTypeReference(char[][] tokens,
TypeReference[][] typeArguments,
int dim,
Annotation[][] annotationsOnDimensions,
long[] positions) |
ParameterizedSingleTypeReference(char[] name,
TypeReference[] typeArguments,
int dim,
Annotation[][] annotationsOnDimensions,
long pos) |
| Modifier and Type | Field and Description |
|---|---|
Annotation |
AnnotationContext.annotation |
Annotation[] |
ExceptionLabel.se7Annotations |
| Modifier and Type | Method and Description |
|---|---|
void |
MultiCatchExceptionLabel.initialize(UnionTypeReference typeReference,
Annotation[] annotations) |
| Constructor and Description |
|---|
AnnotationContext(Annotation annotation,
Expression typeReference,
int targetType,
int visibility) |
ExceptionLabel(CodeStream codeStream,
TypeBinding exceptionType,
TypeReference exceptionTypeReference,
Annotation[] se7Annotations) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
SourceTypeBinding.checkRedundantNullnessDefaultOne(ASTNode location,
Annotation[] annotations,
long nullBits,
boolean isJdk18) |
protected void |
LocalTypeBinding.checkRedundantNullnessDefaultRecurse(ASTNode location,
Annotation[] annotations,
long nullBits,
boolean isJdk18) |
protected void |
NestedTypeBinding.checkRedundantNullnessDefaultRecurse(ASTNode location,
Annotation[] annotations,
long nullBits,
boolean isJdk18) |
protected void |
SourceTypeBinding.checkRedundantNullnessDefaultRecurse(ASTNode location,
Annotation[] annotations,
long nullBits,
boolean isJdk18)
Recursively check if the given annotations are redundant with equal annotations at an enclosing level.
|
boolean |
Scope.validateNullAnnotation(long tagBits,
TypeReference typeRef,
Annotation[] annotations) |
| Modifier and Type | Field and Description |
|---|---|
Annotation |
RecoveredAnnotation.annotation |
protected Annotation[] |
Parser.typeAnnotationStack |
| Modifier and Type | Method and Description |
|---|---|
protected Annotation[][] |
Parser.getAnnotationsOnDimensions(int dimensionsCount) |
Annotation |
RecoveredAnnotation.updatedAnnotationReference() |
| Modifier and Type | Method and Description |
|---|---|
RecoveredElement |
RecoveredAnnotation.addAnnotation(Annotation annot,
int index) |
void |
RecoveredType.annotationsConsumed(Annotation[] consumedAnnotations) |
protected TypeReference |
Parser.augmentTypeWithAdditionalDimensions(TypeReference typeReference,
int additionalDimensions,
Annotation[][] additionalAnnotations,
boolean isVarargs) |
protected ParameterizedQualifiedTypeReference |
Parser.computeQualifiedGenericsFromRightSide(TypeReference rightSide,
int dim,
Annotation[][] annotationsOnDimensions) |
protected void |
Parser.pushOnTypeAnnotationStack(Annotation annotation) |
Copyright © 2015. All rights reserved.