Uses of Class
org.aspectj.org.eclipse.jdt.internal.compiler.ast.Annotation
Packages that use Annotation
Package
Description
The Java DOM/AST is the set of classes that model the source code of a Java program
as a structured document.
-
Uses of Annotation in org.aspectj.ajdt.internal.compiler
Methods in org.aspectj.ajdt.internal.compiler with parameters of type AnnotationModifier and TypeMethodDescriptionCommonPrinter.printAnnotation(Annotation annotation)protected StringBuilderCommonPrinter.printAnnotations(Annotation[] annotations) -
Uses of Annotation in org.aspectj.ajdt.internal.compiler.ast
Methods in org.aspectj.ajdt.internal.compiler.ast that return AnnotationModifier and TypeMethodDescriptionstatic AnnotationAtAspectJAnnotationFactory.createAfterAnnotation(String pointcutExpression, String argNames, int pos)static AnnotationAtAspectJAnnotationFactory.createAfterReturningAnnotation(String pointcutExpression, String argNames, String extraArgumentName, int pos)static AnnotationAtAspectJAnnotationFactory.createAfterThrowingAnnotation(String pointcutExpression, String argNames, String extraArgumentName, int pos)static AnnotationAtAspectJAnnotationFactory.createAroundAnnotation(String pointcutExpression, String argNames, int pos)static AnnotationAtAspectJAnnotationFactory.createAspectAnnotation(String perclause, int pos)Create an @Aspect annotation for a code style aspect declaration starting at the given position in the source filestatic AnnotationAtAspectJAnnotationFactory.createBeforeAnnotation(String pointcutExpression, String argNames, int pos)static AnnotationAtAspectJAnnotationFactory.createDeclareAnnAnnotation(String patternString, String annString, String kind, int pos)static AnnotationAtAspectJAnnotationFactory.createDeclareErrorOrWarningAnnotation(String pointcutExpression, String message, boolean isError, int pos)static AnnotationAtAspectJAnnotationFactory.createDeclareParentsAnnotation(String childPattern, String parentPatterns, boolean isExtends, int pos)static AnnotationAtAspectJAnnotationFactory.createDeclarePrecedenceAnnotation(String pointcutExpression, int pos)static AnnotationAtAspectJAnnotationFactory.createDeclareSoftAnnotation(String pointcutExpression, String exceptionType, int pos)static AnnotationAtAspectJAnnotationFactory.createITDAnnotation(char[] targetTypeName, int modifiers, char[] name, int pos)static AnnotationAtAspectJAnnotationFactory.createPointcutAnnotation(String pointcutExpression, String argNames, int pos)static AnnotationAtAspectJAnnotationFactory.createPrivilegedAnnotation(int pos)DeclareAnnotationDeclaration.getDeclaredAnnotation()Methods in org.aspectj.ajdt.internal.compiler.ast with parameters of type AnnotationModifier and TypeMethodDescriptionstatic voidAtAspectJAnnotationFactory.addAnnotation(AjMethodDeclaration decl, Annotation annotation, BlockScope scope)Constructors in org.aspectj.ajdt.internal.compiler.ast with parameters of type AnnotationModifierConstructorDescriptionDeclareAnnotationDeclaration(CompilationResult result, DeclareAnnotation symbolicDeclare, Annotation annotation) -
Uses of Annotation in org.aspectj.ajdt.internal.compiler.lookup
Methods in org.aspectj.ajdt.internal.compiler.lookup with parameters of type AnnotationModifier and TypeMethodDescriptionstatic AnnotationAJEclipseAnnotationConvertor.convertEclipseAnnotation(Annotation eclipseAnnotation, World w, EclipseFactory factory)Convert one eclipse annotation into an AnnotationX object containing an AnnotationAJ object.EclipseSourceType.convertEclipseAnnotation(Annotation eclipseAnnotation, World w)Convert one eclipse annotation into an AnnotationX object containing an AnnotationAJ object. -
Uses of Annotation in org.aspectj.ajdt.internal.compiler.parser
Methods in org.aspectj.ajdt.internal.compiler.parser with parameters of type AnnotationModifier and TypeMethodDescriptionDeclarationFactory.createDeclareAnnotationDeclaration(CompilationResult result, ASTNode pseudoTokens, Annotation annotation, Parser parser, char kind) -
Uses of Annotation in org.aspectj.ajdt.internal.compiler.problem
Methods in org.aspectj.ajdt.internal.compiler.problem with parameters of type AnnotationModifier and TypeMethodDescriptionvoidAjProblemReporter.disallowedTargetForAnnotation(Annotation annotation)voidAjProblemReporter.missingValueForAnnotationMember(Annotation annotation, char[] memberName) -
Uses of Annotation in org.aspectj.org.eclipse.jdt.core.dom
Methods in org.aspectj.org.eclipse.jdt.core.dom with parameters of type AnnotationModifier and TypeMethodDescriptionASTConverter.convert(Annotation annotation)protected voidAjASTConverter.setModifiers(BodyDeclaration bodyDeclaration, Annotation[] annotations)protected voidASTConverter.setModifiers(List modifiers, Annotation[] annotations, int modifiersEnd)protected voidASTConverter.setModifiers(BodyDeclaration bodyDeclaration, Annotation[] annotations, int modifiersEnd)protected voidAjASTConverter.setTypeNameForAnnotation(Annotation compilerAnnotation, Annotation annotation)protected voidASTConverter.setTypeNameForAnnotation(Annotation compilerAnnotation, Annotation annotation) -
Uses of Annotation in org.aspectj.org.eclipse.jdt.internal.codeassist
Methods in org.aspectj.org.eclipse.jdt.internal.codeassist with parameters of type AnnotationModifier and TypeMethodDescriptionprotected IAnnotationCompletionUnitStructureRequestor.acceptAnnotation(Annotation annotation, AnnotatableInfo parentInfo, JavaElement parentHandle) -
Uses of Annotation in org.aspectj.org.eclipse.jdt.internal.codeassist.complete
Subclasses of Annotation in org.aspectj.org.eclipse.jdt.internal.codeassist.completeModifier and TypeClassDescriptionclassclassMethods in org.aspectj.org.eclipse.jdt.internal.codeassist.complete with parameters of type AnnotationModifier and TypeMethodDescriptionCompletionOnQualifiedTypeReference.augmentTypeWithAdditionalDimensions(int additionalDimensions, Annotation[][] additionalAnnotations, boolean isVarargs)CompletionOnSingleTypeReference.augmentTypeWithAdditionalDimensions(int additionalDimensions, Annotation[][] additionalAnnotations, boolean isVarargs)protected TypeReferenceCompletionParser.augmentTypeWithAdditionalDimensions(TypeReference typeRef, int additionalDimensions, Annotation[][] additionalAnnotations, boolean isVarargs)Constructors in org.aspectj.org.eclipse.jdt.internal.codeassist.complete with parameters of type AnnotationModifierConstructorDescriptionCompletionOnAnnotationOfType(char[] typeName, CompilationResult compilationResult, Annotation annotation) -
Uses of Annotation in org.aspectj.org.eclipse.jdt.internal.compiler
Fields in org.aspectj.org.eclipse.jdt.internal.compiler declared as AnnotationModifier and TypeFieldDescriptionISourceElementRequestor.FieldInfo.annotationsISourceElementRequestor.MethodInfo.annotationsISourceElementRequestor.ModuleInfo.annotationsISourceElementRequestor.TypeInfo.annotationsMethods in org.aspectj.org.eclipse.jdt.internal.compiler with parameters of type AnnotationModifier and TypeMethodDescriptionvoidClassFile.addModuleAttributes(ModuleBinding module, Annotation[] annotations, CompilationUnitDeclaration cud)INTERNAL USE-ONLY This methods generate all the module attributes for the receiver. -
Uses of Annotation in org.aspectj.org.eclipse.jdt.internal.compiler.ast
Subclasses of Annotation in org.aspectj.org.eclipse.jdt.internal.compiler.astModifier and TypeClassDescriptionclassclassclassNormal annotation nodeclassSingleMemberAnnotation nodeFields in org.aspectj.org.eclipse.jdt.internal.compiler.ast declared as AnnotationModifier and TypeFieldDescriptionAbstractMethodDeclaration.annotationsAbstractVariableDeclaration.annotationsImportReference.annotationsModuleDeclaration.annotationsTypeDeclaration.annotationsAnnotation[][]TypeReference.annotationsAnnotation[][]ArrayAllocationExpression.annotationsOnDimensionsTypeDeclaration.originalAnnotationsMethods in org.aspectj.org.eclipse.jdt.internal.compiler.ast that return AnnotationModifier and TypeMethodDescriptionstatic Annotation[]ASTNode.copyRecordComponentAnnotations(Scope scope, Binding recipient, Annotation[] annotations)TypeReference.findAnnotation(long nullTagBits)Retrieve the null annotation that has been translated to the given nullTagBits.Annotation[][]ArrayAllocationExpression.getAnnotationsOnDimensions()Annotation[][]ArrayQualifiedTypeReference.getAnnotationsOnDimensions(boolean useSourceOrder)Annotation[][]ArrayTypeReference.getAnnotationsOnDimensions(boolean useSourceOrder)Annotation[][]TypeReference.getAnnotationsOnDimensions()Annotation[][]TypeReference.getAnnotationsOnDimensions(boolean useSourceOrder)protected Annotation[][]TypeReference.getMergedAnnotationsOnDimensions(int additionalDimensions, Annotation[][] additionalAnnotations)Annotation.getPersistibleAnnotation()static Annotation[]ASTNode.getRelevantAnnotations(Annotation[] annotations, long rcMask, List<AnnotationBinding> relevantAnnotations)Methods in org.aspectj.org.eclipse.jdt.internal.compiler.ast with parameters of type AnnotationModifier and TypeMethodDescriptionvoidContainerAnnotation.addContainee(Annotation repeatingAnnotation)IntersectionCastTypeReference.augmentTypeWithAdditionalDimensions(int additionalDimensions, Annotation[][] additionalAnnotations, boolean isVarargs)JavadocImplicitTypeReference.augmentTypeWithAdditionalDimensions(int additionalDimensions, Annotation[][] additionalAnnotations, boolean isVarargs)ParameterizedQualifiedTypeReference.augmentTypeWithAdditionalDimensions(int additionalDimensions, Annotation[][] additionalAnnotations, boolean isVarargs)ParameterizedSingleTypeReference.augmentTypeWithAdditionalDimensions(int additionalDimensions, Annotation[][] additionalAnnotations, boolean isVarargs)QualifiedTypeReference.augmentTypeWithAdditionalDimensions(int additionalDimensions, Annotation[][] additionalAnnotations, boolean isVarargs)SingleTypeReference.augmentTypeWithAdditionalDimensions(int additionalDimensions, Annotation[][] additionalAnnotations, boolean isVarargs)abstract TypeReferenceTypeReference.augmentTypeWithAdditionalDimensions(int additionalDimensions, Annotation[][] additionalAnnotations, boolean isVarargs)UnionTypeReference.augmentTypeWithAdditionalDimensions(int additionalDimensions, Annotation[][] additionalAnnotations, boolean isVarargs)static TypeReferenceTypeReference.baseTypeReference(int baseType, int dim, Annotation[][] dimAnnotations)static voidAnnotation.checkContainingAnnotationTargetAtUse(Annotation repeatingAnnotation, BlockScope scope, TypeBinding containerAnnotationType, TypeBinding repeatingAnnotationType)static voidAnnotation.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 booleanTypeReference.containsNullAnnotation(Annotation[] annotations)static Annotation[]ASTNode.copyRecordComponentAnnotations(Scope scope, Binding recipient, Annotation[] annotations)static voidASTNode.copySE8AnnotationsToType(BlockScope scope, Binding recipient, Annotation[] annotations, boolean annotatingEnumerator)voidTypeReference.getAllAnnotationContexts(int targetType, int info, List<AnnotationContext> allAnnotationContexts, Annotation[] se7Annotations)voidTypeReference.getAllAnnotationContexts(int targetType, int info, List<AnnotationContext> allAnnotationContexts, Annotation[][] annotationsOnDimensions, int dimensions)info can be either a type index (superclass/superinterfaces) or a pc into the bytecodestatic int[]Annotation.getLocations(Expression reference, Annotation annotation)Return the location for the corresponding annotation inside the type reference,nullif none.protected Annotation[][]TypeReference.getMergedAnnotationsOnDimensions(int additionalDimensions, Annotation[][] additionalAnnotations)static Annotation[]ASTNode.getRelevantAnnotations(Annotation[] annotations, long rcMask, List<AnnotationBinding> relevantAnnotations)static voidASTNode.handleNonNullByDefault(BlockScope scope, Annotation[] sourceAnnotations, LocalDeclaration localDeclaration)"early" handling of NonNullByDefault because for local variables annotations are resolved after their type because of bug 96991.static voidAnnotation.isTypeUseCompatible(TypeReference reference, Scope scope, Annotation[] annotations)static StringBufferASTNode.printAnnotations(Annotation[] annotations, StringBuffer output)voidCompilationUnitDeclaration.recordSuppressWarnings(IrritantSet irritants, Annotation annotation, int scopeStart, int scopeEnd, ReferenceContext context)protected static voidQualifiedTypeReference.rejectAnnotationsOnStaticMemberQualififer(Scope scope, ReferenceBinding currentType, Annotation[] qualifierAnnot)static TypeBindingASTNode.resolveAnnotations(BlockScope scope, Annotation[][] sourceAnnotations, TypeBinding type)Resolve JSR308 annotations on a type reference, array creation expression or a wildcard.static voidASTNode.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 voidASTNode.resolveDeprecatedAnnotations(BlockScope scope, Annotation[] annotations, Binding recipient)Figures if @Deprecated annotation is specified, do not resolve entire annotations.voidArrayQualifiedTypeReference.setAnnotationsOnDimensions(Annotation[][] annotationsOnDimensions)voidArrayTypeReference.setAnnotationsOnDimensions(Annotation[][] annotationsOnDimensions)voidTypeReference.setAnnotationsOnDimensions(Annotation[][] annotationsOnDimensions)Constructors in org.aspectj.org.eclipse.jdt.internal.compiler.ast with parameters of type AnnotationModifierConstructorDescriptionArrayQualifiedTypeReference(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) -
Uses of Annotation in org.aspectj.org.eclipse.jdt.internal.compiler.codegen
Fields in org.aspectj.org.eclipse.jdt.internal.compiler.codegen declared as AnnotationMethods in org.aspectj.org.eclipse.jdt.internal.compiler.codegen with parameters of type AnnotationModifier and TypeMethodDescriptionvoidMultiCatchExceptionLabel.initialize(UnionTypeReference typeReference, Annotation[] annotations)Constructors in org.aspectj.org.eclipse.jdt.internal.compiler.codegen with parameters of type AnnotationModifierConstructorDescriptionAnnotationContext(Annotation annotation, Expression typeReference, int targetType, int visibility)ExceptionLabel(CodeStream codeStream, TypeBinding exceptionType, TypeReference exceptionTypeReference, Annotation[] se7Annotations) -
Uses of Annotation in org.aspectj.org.eclipse.jdt.internal.compiler.lookup
Methods in org.aspectj.org.eclipse.jdt.internal.compiler.lookup with parameters of type AnnotationModifier and TypeMethodDescriptionbooleanScope.recordNonNullByDefault(Binding target, int value, Annotation annotation, int scopeStart, int scopeEnd)Record a NNBD annotation applying to a given source range within the current scopebooleanScope.validateNullAnnotation(long tagBits, TypeReference typeRef, Annotation[] annotations) -
Uses of Annotation in org.aspectj.org.eclipse.jdt.internal.compiler.parser
Fields in org.aspectj.org.eclipse.jdt.internal.compiler.parser declared as AnnotationModifier and TypeFieldDescriptionRecoveredAnnotation.annotationprotected Annotation[]TheOriginalJDTParserClass.typeAnnotationStackMethods in org.aspectj.org.eclipse.jdt.internal.compiler.parser that return AnnotationModifier and TypeMethodDescriptionprotected Annotation[][]TheOriginalJDTParserClass.getAnnotationsOnDimensions(int dimensionsCount)RecoveredAnnotation.updatedAnnotationReference()Methods in org.aspectj.org.eclipse.jdt.internal.compiler.parser with parameters of type AnnotationModifier and TypeMethodDescriptionRecoveredAnnotation.addAnnotation(Annotation annot, int index)voidRecoveredType.annotationsConsumed(Annotation[] consumedAnnotations)protected TypeReferenceTheOriginalJDTParserClass.augmentTypeWithAdditionalDimensions(TypeReference typeReference, int additionalDimensions, Annotation[][] additionalAnnotations, boolean isVarargs)protected ParameterizedQualifiedTypeReferenceTheOriginalJDTParserClass.computeQualifiedGenericsFromRightSide(TypeReference rightSide, int dim, Annotation[][] annotationsOnDimensions)Parser.IDeclarationFactory.createDeclareAnnotationDeclaration(CompilationResult result, ASTNode pseudoTokens, Annotation annotation, Parser parser, char kind)protected voidTheOriginalJDTParserClass.pushOnTypeAnnotationStack(Annotation annotation) -
Uses of Annotation in org.aspectj.org.eclipse.jdt.internal.compiler.problem
Methods in org.aspectj.org.eclipse.jdt.internal.compiler.problem with parameters of type AnnotationModifier and TypeMethodDescriptionvoidProblemReporter.contradictoryNullAnnotations(Annotation annotation)voidProblemReporter.contradictoryNullAnnotations(Annotation[] annotations)voidProblemReporter.contradictoryNullAnnotationsOnBounds(Annotation annotation, long previousTagBit)voidProblemReporter.disallowedTargetForAnnotation(Annotation annotation)voidProblemReporter.disallowedTargetForContainerAnnotation(Annotation annotation, TypeBinding containerAnnotationType)voidProblemReporter.duplicateAnnotation(Annotation annotation, long sourceLevel)voidProblemReporter.illegalAnnotationForBaseType(Annotation annotation, TypeBinding type)voidProblemReporter.illegalAnnotationForBaseType(TypeReference type, Annotation[] annotations, long nullAnnotationTagBit)voidProblemReporter.illegalTypeAnnotationsInStaticMemberAccess(Annotation first, Annotation last)voidProblemReporter.illegalUsageOfTypeAnnotations(Annotation annotation)voidProblemReporter.invalidFileNameForPackageAnnotations(Annotation annotation)voidProblemReporter.invalidUsageOfAnnotation(Annotation annotation)voidProblemReporter.invalidUsageOfTypeAnnotations(Annotation annotation)voidProblemReporter.misplacedTypeAnnotations(Annotation first, Annotation last)voidProblemReporter.missingValueForAnnotationMember(Annotation annotation, char[] memberName)voidProblemReporter.nullAnnotationAtQualifyingType(Annotation annotation)voidProblemReporter.nullAnnotationUnsupportedLocation(Annotation annotation)voidProblemReporter.nullDefaultAnnotationIsRedundant(ASTNode location, Annotation[] annotations, Binding outer)voidProblemReporter.repeatableAnnotationWithRepeatingContainer(Annotation annotation, ReferenceBinding containerType)voidProblemReporter.repeatedAnnotationWithContainer(Annotation annotation, Annotation container)voidProblemReporter.typeAnnotationAtQualifiedName(Annotation annotation) -
Uses of Annotation in org.aspectj.org.eclipse.jdt.internal.core
Methods in org.aspectj.org.eclipse.jdt.internal.core with parameters of type AnnotationModifier and TypeMethodDescriptionprotected IAnnotationCompilationUnitStructureRequestor.acceptAnnotation(Annotation annotation, AnnotatableInfo parentInfo, JavaElement parentHandle)Constructors in org.aspectj.org.eclipse.jdt.internal.core with parameters of type AnnotationModifierConstructorDescriptionLocalVariable(JavaElement parent, String name, int declarationSourceStart, int declarationSourceEnd, int nameStart, int nameEnd, String typeSignature, Annotation[] astAnnotations, int flags, boolean isParameter)LocalVariable(JavaElement parent, String name, int declarationSourceStart, int declarationSourceEnd, int nameStart, int nameEnd, String typeSignature, Annotation[] astAnnotations, int flags, boolean isParameter, Annotation[][] astAnnotationsOnDimensions) -
Uses of Annotation in org.aspectj.org.eclipse.jdt.internal.core.search.matching
Methods in org.aspectj.org.eclipse.jdt.internal.core.search.matching with parameters of type AnnotationModifier and TypeMethodDescriptionprotected TypeReferenceMatchLocatorParser.augmentTypeWithAdditionalDimensions(TypeReference typeRef, int additionalDimensions, Annotation[][] additionalAnnotations, boolean isVarargs)protected IJavaElementMatchLocator.createHandle(Annotation annotation, IAnnotatable parent)Create an handle for a local variable declaration (may be a local variable or type parameter).intAndLocator.match(Annotation node, MatchingNodeSet nodeSet)intMethodLocator.match(Annotation node, MatchingNodeSet nodeSet)intOrLocator.match(Annotation node, MatchingNodeSet nodeSet)intPackageReferenceLocator.match(Annotation node, MatchingNodeSet nodeSet)intPatternLocator.match(Annotation node, MatchingNodeSet nodeSet)intTypeReferenceLocator.match(Annotation node, MatchingNodeSet nodeSet)protected voidMatchLocator.reportMatching(Annotation[] annotations, IJavaElement enclosingElement, IJavaElement[] otherElements, Binding elementBinding, MatchingNodeSet nodeSet, boolean matchedContainer, boolean enclosesElement)Report matching in annotations.