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.
javax.lang.model.util.Types
, Elements and Types
, JSR 269: Pluggable Annotation Processing API
Modifier and Type | Interface and Description |
---|---|
public interface | ArrayType
Represents an array type. |
public interface | DeclaredType
Represents a declared type, either a class type or an interface type. |
public interface | ErrorType
Represents a class or interface type that cannot be properly modeled. |
public interface | ExecutableType
Represents the type of an executable. |
public interface | IntersectionType
Represents an intersection type. |
public interface | NoType
A pseudo-type used where no actual type is appropriate. |
public interface | NullType
Represents the null type. |
public interface | PrimitiveType
Represents a primitive type. |
public interface | ReferenceType
Represents a reference type. |
public interface | TypeMirror
Represents a type in the Java programming language. |
public interface | TypeVariable
Represents a type variable. |
public interface | TypeVisitor<
the return type of this visitor's methods. Use R, Void for visitors that do not need to return results.the type of the additional parameter to this visitor's
methods. Use P>Void for visitors that do not need an
additional parameter.A visitor of types, in the style of the visitor design pattern. |
public interface | UnionType
Represents a union type. |
public interface | WildcardType
Represents a wildcard type argument. |
Modifier and Type | Class and Description |
---|---|
public class | MirroredTypeException
Thrown when an application attempts to access the |
public class | MirroredTypesException
Thrown when an application attempts to access a sequence of |
public class | UnknownTypeException
Indicates that an unknown kind of type was encountered. |
Modifier and Type | Enum and Description |
---|---|
public enum | TypeKind
The kind of a type mirror. |