| 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.type |
Interfaces used to model Java programming language types.
|
| 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 |
|---|---|
| AnnotationMirror |
Represents an annotation.
|
| AnnotationValue |
Represents a value of an annotation type element.
|
| Element |
Represents a program element such as a package, class, or method.
|
| ExecutableElement |
Represents a method, constructor, or initializer (static or
instance) of a class or interface, including annotation type
elements.
|
| TypeElement |
Represents a class or interface program element.
|
| Class | Description |
|---|---|
| AnnotationMirror |
Represents an annotation.
|
| Class | Description |
|---|---|
| AnnotationMirror |
Represents an annotation.
|
| AnnotationValue |
Represents a value of an annotation type element.
|
| AnnotationValueVisitor |
A visitor of the values of annotation type elements, using a
variant of the visitor design pattern.
|
| Element |
Represents a program element such as a package, class, or method.
|
| ElementKind |
The
kind of an element. |
| ElementVisitor |
A visitor of program elements, in the style of the visitor design
pattern.
|
| ExecutableElement |
Represents a method, constructor, or initializer (static or
instance) of a class or interface, including annotation type
elements.
|
| Modifier |
Represents a modifier on a program element such
as a class, method, or field.
|
| Name |
An immutable sequence of characters.
|
| NestingKind |
The nesting kind of a type element.
|
| PackageElement |
Represents a package program element.
|
| Parameterizable |
A mixin interface for an element that has type parameters.
|
| QualifiedNameable |
A mixin interface for an element that has a qualified name.
|
| TypeElement |
Represents a class or interface program element.
|
| TypeParameterElement |
Represents a formal type parameter of a generic class, interface, method,
or constructor element.
|
| VariableElement |
Represents a field,
enum constant, method or constructor
parameter, local variable, resource variable, or exception
parameter. |
| Class | Description |
|---|---|
| Element |
Represents a program element such as a package, class, or method.
|
| Class | Description |
|---|---|
| AnnotationMirror |
Represents an annotation.
|
| AnnotationValue |
Represents a value of an annotation type element.
|
| AnnotationValueVisitor |
A visitor of the values of annotation type elements, using a
variant of the visitor design pattern.
|
| Element |
Represents a program element such as a package, class, or method.
|
| ElementVisitor |
A visitor of program elements, in the style of the visitor design
pattern.
|
| ExecutableElement |
Represents a method, constructor, or initializer (static or
instance) of a class or interface, including annotation type
elements.
|
| Name |
An immutable sequence of characters.
|
| PackageElement |
Represents a package program element.
|
| TypeElement |
Represents a class or interface program element.
|
| TypeParameterElement |
Represents a formal type parameter of a generic class, interface, method,
or constructor element.
|
| VariableElement |
Represents a field,
enum constant, method or constructor
parameter, local variable, resource variable, or exception
parameter. |
| Class | Description |
|---|---|
| Modifier |
Represents a modifier on a program element such
as a class, method, or field.
|
| NestingKind |
The nesting kind of a type element.
|
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.