Spec-Zone.ru › OpenJDK 27

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
  • Elements and Types
  • JSR 269: Pluggable Annotation Processing API
Package Description
javax.lang.model
Types and hierarchies of packages comprising a Java language model, a reflective API that models the declarations and types of the Java programming language.
javax.lang.model.element
Interfaces used to model elements of the Java programming language.
javax.lang.model.util
Utilities to assist in the processing of program elements and types.
Class 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.
MirroredTypeException
Thrown when an application attempts to access the Class object corresponding to a TypeMirror.
MirroredTypesException
Thrown when an application attempts to access a sequence of Class objects each corresponding to a TypeMirror.
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.
TypeKind
The kind of a type mirror.
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.
UnknownTypeException
Indicates that an unknown kind of type was encountered.
WildcardType
Represents a wildcard type argument.

Report a bug or suggest an enhancement
For further API reference and developer documentation see the Java SE Documentation, which contains more detailed, developer-targeted descriptions with conceptual overviews, definitions of terms, workarounds, and working code examples. Other versions.
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 1993, 2026, Oracle and/or its affiliates, 500 Oracle Parkway, Redwood Shores, CA 94065 USA.
All rights reserved. Use is subject to license terms and the documentation redistribution policy.

© 1993, 2025, 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.

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API