| Package | Description |
|---|---|
| javax.annotation.processing |
Facilities for declaring annotation processors and for allowing annotation processors to communicate with an annotation processing tool environment.
|
| javax.tools |
Provides interfaces for tools which can be invoked from a program, for example, compilers.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Messager.printMessage(Diagnostic
Prints a message of the specified kind.
|
void |
Messager.printMessage(Diagnostic
Prints a message of the specified kind at the location of the element.
|
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 |
|---|---|
Diagnostic |
Diagnostic.getKind()
Gets the kind of this diagnostic, for example, error or warning.
|
static Diagnostic |
Diagnostic.Kind.valueOf(String
Returns the enum constant of this type with the specified name.
|
static Diagnostic |
Diagnostic.Kind.values()
Returns an array containing the constants of this enum type, in the order they are declared.
|