Package | Description |
---|---|
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.
|
Modifier and Type | Interface and Description |
---|---|
interface |
Element
Represents a program element such as a package, class, or method.
|
interface |
ExecutableElement
Represents a method, constructor, or initializer (static or
instance) of a class or interface, including annotation type
elements.
|
interface |
PackageElement
Represents a package program element.
|
interface |
Parameterizable
A mixin interface for an element that has type parameters.
|
interface |
QualifiedNameable
A mixin interface for an element that has a qualified name.
|
interface |
TypeElement
Represents a class or interface program element.
|
interface |
TypeParameterElement
Represents a formal type parameter of a generic class, interface, method,
or constructor element.
|
interface |
VariableElement
Represents a field,
enum constant, method or constructor
parameter, local variable, resource variable, or exception
parameter. |
Modifier and Type | Interface and Description |
---|---|
interface |
ArrayType
Represents an array type.
|
interface |
DeclaredType
Represents a declared type, either a class type or an interface type.
|
interface |
ErrorType
Represents a class or interface type that cannot be properly modeled.
|
interface |
ExecutableType
Represents the type of an executable.
|
interface |
IntersectionType
Represents an intersection type.
|
interface |
NoType
A pseudo-type used where no actual type is appropriate.
|
interface |
NullType
Represents the null type.
|
interface |
PrimitiveType
Represents a primitive type.
|
interface |
ReferenceType
Represents a reference type.
|
interface |
TypeMirror
Represents a type in the Java programming language.
|
interface |
TypeVariable
Represents a type variable.
|
interface |
UnionType
Represents a union type.
|
interface |
WildcardType
Represents a wildcard type argument.
|
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, 2022, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.