Module java.compiler
Package javax.lang.model.type
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.
- See Java Language Specification:
-
4.1 The Kinds of Types and Values
4.2 Primitive Types and Values
4.3 Reference Types and Values
4.4 Type Variables
4.5 Parameterized Types
4.8 Raw Types
4.9 Intersection Types
10.1 Array Types - Since:
- 1.6
- See Also:
Types
-
Related PackagesPackageDescriptionTypes and hierarchies of packages comprising a Java language model, a model of the declarations and types of the Java programming language.Interfaces used to model elements of the Java programming language.Utilities to assist in the processing of program elements and types.
-
Interface SummaryInterfaceDescriptionRepresents an array type.Represents a declared type, either a class type or an interface type.Represents a class or interface type that cannot be properly modeled.Represents the type of an executable.Represents an intersection type.A pseudo-type used where no actual type is appropriate.Represents the null type.Represents a primitive type.Represents a reference type.Represents a type in the Java programming language.Represents a type variable.TypeVisitor<R,P>A visitor of types, in the style of the visitor design pattern.Represents a union type.Represents a wildcard type argument.
-
Enum Class Summary
-
Exception SummaryExceptionDescriptionThrown when an application attempts to access the
Class
object corresponding to aTypeMirror
.Thrown when an application attempts to access a sequence ofClass
objects each corresponding to aTypeMirror
.Indicates that an unknown kind of type was encountered.