| 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.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 |
|---|---|
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 |
|---|---|
AnnotationValue |
ExecutableElement.getDefaultValue()
Returns the default value if this executable is an annotation type element.
|
AnnotationValue |
UnknownAnnotationValueException.getUnknownAnnotationValue()
Returns the unknown annotation value.
|
| Modifier and Type | Method and Description |
|---|---|
Map |
AnnotationMirror.getElementValues()
Returns the values of this annotation's elements.
|
| Modifier and Type | Method and Description |
|---|---|
R |
AnnotationValueVisitor.visit(AnnotationValue
A convenience method equivalent to
v.visit(av, null).
|
R |
AnnotationValueVisitor.visit(AnnotationValue
Visits an annotation value.
|
R |
AnnotationValueVisitor.visitUnknown(AnnotationValue
Visits an unknown kind of annotation value.
|
| Modifier and Type | Method and Description |
|---|---|
R |
AnnotationValueVisitor.visitArray(List
Visits an array value in an annotation.
|
| Constructor and Description | |
|---|---|
UnknownAnnotationValueException(AnnotationValue
Creates a new
UnknownAnnotationValueException.
|
| Modifier and Type | Method and Description |
|---|---|
Map |
Elements.getElementValuesWithDefaults(AnnotationMirror
Returns the values of an annotation's elements, including defaults.
|
| Modifier and Type | Method and Description |
|---|---|
R |
AbstractAnnotationValueVisitor6.visit(AnnotationValue
Visits an annotation value as if by passing itself to that value's
accept method passing
null for the additional parameter.
|
R |
AbstractAnnotationValueVisitor6.visit(AnnotationValue
Visits an annotation value as if by passing itself to that value's
accept.
|
R |
AbstractAnnotationValueVisitor6.visitUnknown(AnnotationValue
Visits an unknown kind of annotation value.
|
| Modifier and Type | Method and Description |
|---|---|
R |
SimpleAnnotationValueVisitor6.visitArray(List
Visits an array value in an annotation.
|