| Package | Description |
|---|---|
| javax.annotation.processing |
Facilities for declaring annotation processors and for allowing annotation processors to communicate with an annotation processing tool environment.
|
| javax.lang.model |
Classes and hierarchies of packages used to model the Java programming language.
|
| javax.lang.model.element |
Interfaces used to model elements of the Java programming language.
|
| javax.lang.model.util |
Utilities to assist in the processing of program elements and types.
|
| Modifier and Type | Method and Description |
|---|---|
Iterable |
AbstractProcessor.getCompletions(Element
Returns an empty iterable of completions.
|
Iterable |
Processor.getCompletions(Element
Returns to the tool infrastructure an iterable of suggested completions to an annotation.
|
void |
Messager.printMessage(Diagnostic
Prints a message of the specified kind at the location of the annotation mirror of the annotated element.
|
void |
Messager.printMessage(Diagnostic
Prints a message of the specified kind at the location of the annotation value inside the annotation mirror of the annotated element.
|
| Modifier and Type | Method and Description |
|---|---|
List |
AnnotatedConstruct.getAnnotationMirrors()
Returns the annotations that are
directly present on this construct.
|
| Modifier and Type | Method and Description |
|---|---|
List |
Element.getAnnotationMirrors()
Returns the annotations that are
directly present on this construct.
|
| Modifier and Type | Method and Description |
|---|---|
R |
AnnotationValueVisitor.visitAnnotation(AnnotationMirror
Visits an annotation value in an annotation.
|
| Modifier and Type | Method and Description |
|---|---|
List |
Elements.getAllAnnotationMirrors(Element
Returns all annotations
present on an element, whether directly present or present via inheritance.
|
| Modifier and Type | Method and Description |
|---|---|
Map |
Elements.getElementValuesWithDefaults(AnnotationMirror
Returns the values of an annotation's elements, including defaults.
|
R |
SimpleAnnotationValueVisitor6.visitAnnotation(AnnotationMirror
Visits an annotation value in an annotation.
|