| 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.util | Utilities to assist in the processing of
 program elements and
 types. | 
| javax.tools | Provides interfaces for tools which can be invoked from a program,
 for example, compilers. | 
| Class | Description | 
|---|---|
| Completion | A suggested completion for an
 annotation. | 
| Filer | This interface supports the creation of new files by an annotation
 processor. | 
| Messager | A  Messagerprovides the way for an annotation processor to
 report error messages, warnings, and other notices. | 
| 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 | 
|---|---|
| SupportedSourceVersion | An annotation used to indicate the latest source version an
 annotation processor supports. | 
| Class | Description | 
|---|---|
| Processor | The interface for an annotation processor. | 
 Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2025, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy. 
Scripting on this page tracks web page traffic, but does not change the content in any way.