Package | Description |
---|---|
com.sun.mirror.apt |
Classes used to communicate information between
annotation processors
and an annotation processing tool.
|
com.sun.mirror.declaration |
Interfaces used to model program element declarations.
|
com.sun.mirror.type |
Interfaces used to model types.
|
com.sun.mirror.util |
Utilities to assist in the processing of declarations and types.
|
Modifier and Type | Method and Description |
---|---|
Collection<Declaration> |
AnnotationProcessorEnvironment.getDeclarationsAnnotatedWith(AnnotationTypeDeclaration a)
Returns the declarations annotated with the given annotation type.
|
Modifier and Type | Method and Description |
---|---|
AnnotationProcessor |
AnnotationProcessorFactory.getProcessorFor(Set<AnnotationTypeDeclaration> atds,
AnnotationProcessorEnvironment env)
Returns an annotation processor for a set of annotation
types.
|
Modifier and Type | Method and Description |
---|---|
AnnotationTypeDeclaration |
AnnotationTypeElementDeclaration.getDeclaringType()
Returns the type declaration within which this member or constructor
is declared.
|
Modifier and Type | Method and Description |
---|---|
Collection<AnnotationTypeDeclaration> |
PackageDeclaration.getAnnotationTypes()
Returns the declarations of the top-level annotation types in this
package.
|
Modifier and Type | Method and Description |
---|---|
AnnotationTypeDeclaration |
AnnotationType.getDeclaration()
Returns the declaration of this type.
|
Modifier and Type | Method and Description |
---|---|
void |
DeclarationVisitor.visitAnnotationTypeDeclaration(AnnotationTypeDeclaration d)
Visits an annotation type declaration.
|
void |
SimpleDeclarationVisitor.visitAnnotationTypeDeclaration(AnnotationTypeDeclaration d)
Visits an annotation type declaration.
|
Copyright © 2004, 2014, Oracle and/or its affiliates. All rights reserved.