Package javax.lang.model.type
Interfaces used to model Java programming language types.
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.
- Since:
- 1.6
Interface | Description |
---|---|
ArrayType | Represents an array type. |
DeclaredType | Represents a declared type, either a class type or an interface type. |
ErrorType | Represents a class or interface type that cannot be properly modeled. |
ExecutableType | Represents the type of an executable. |
IntersectionType | Represents an intersection type. |
NoType | A pseudo-type used where no actual type is appropriate. |
NullType | Represents the null type. |
PrimitiveType | Represents a primitive type. |
ReferenceType | Represents a reference type. |
TypeMirror | Represents a type in the Java programming language. |
TypeVariable | Represents a type variable. |
TypeVisitor<R,P> | A visitor of types, in the style of the visitor design pattern. |
UnionType | Represents a union type. |
WildcardType | Represents a wildcard type argument. |
Enum | Description |
---|---|
TypeKind | The kind of a type mirror. |
Exception | Description |
---|---|
MirroredTypeException | Thrown when an application attempts to access the |
MirroredTypesException | Thrown when an application attempts to access a sequence of |
UnknownTypeException | Indicates that an unknown kind of type was encountered. |
© 1993, 2020, 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.
https://docs.oracle.com/en/java/javase/11/docs/api/java.compiler/javax/lang/model/type/package-summary.html