Facilities for declaring annotation processors and for allowing annotation processors to communicate with an annotation processing tool environment.
See: Description
Interface | Description |
---|---|
Completion | A suggested completion for an annotation. |
Filer | This interface supports the creation of new files by an annotation processor. |
Messager | A |
ProcessingEnvironment | An annotation processing tool framework will provide an annotation processor with an object implementing this interface so the processor can use facilities provided by the framework to write new files, report error messages, and find other utilities. |
Processor | The interface for an annotation processor. |
RoundEnvironment | An annotation processing tool framework will provide an annotation processor with an object implementing this interface so that the processor can query for information about a round of annotation processing. |
Class | Description |
---|---|
AbstractProcessor | An abstract annotation processor designed to be a convenient superclass for most concrete annotation processors. |
Completions | Utility class for assembling |
Exception | Description |
---|---|
FilerException | Indicates a |
Annotation Type | Description |
---|---|
SupportedAnnotationTypes | An annotation used to indicate what annotation types an annotation processor supports. |
SupportedOptions | An annotation used to indicate what options an annotation processor supports. |
SupportedSourceVersion | An annotation used to indicate the latest source version an annotation processor supports. |
Facilities for declaring annotation processors and for allowing annotation processors to communicate with an annotation processing tool environment.
Unless otherwise specified in a particular implementation, the collections returned by methods in this package should be expected to be unmodifiable by the caller and unsafe for concurrent access.
Unless otherwise specified, methods in this package will throw a NullPointerException
if given a null
argument.
© 1993–2017, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.