Uses of Interface
jakarta.enterprise.lang.model.types.Type
-
Packages that use Type Package Description jakarta.enterprise.lang.model The core interfaces of the language model that represent annotations and annotation targets.jakarta.enterprise.lang.model.declarations Interfaces that represent declarations.jakarta.enterprise.lang.model.types Interfaces that represent types. -
-
Uses of Type in jakarta.enterprise.lang.model
Methods in jakarta.enterprise.lang.model that return Type Modifier and Type Method Description Type
AnnotationMember. asType()
Returns this class value as aType
.Type
AnnotationTarget. asType()
Returns this annotation target as a type. -
Uses of Type in jakarta.enterprise.lang.model.declarations
Methods in jakarta.enterprise.lang.model.declarations that return Type Modifier and Type Method Description default Type
DeclarationInfo. asType()
Type
MethodInfo. receiverType()
Returns the type of the receiver parameter declared by this method.Type
MethodInfo. returnType()
Returns the return type of this method.Type
ClassInfo. superClass()
Returns the direct superclass type of this class.Type
FieldInfo. type()
Returns the type of this field.Type
ParameterInfo. type()
Returns the type of this parameter.Type
RecordComponentInfo. type()
Returns the type of this record component.Methods in jakarta.enterprise.lang.model.declarations that return types with arguments of type Type Modifier and Type Method Description java.util.List<Type>
ClassInfo. superInterfaces()
Returns a list of direct superinterface types of this class.java.util.List<Type>
MethodInfo. throwsTypes()
Returns a list of exception types that are declared to be thrown by this method. -
Uses of Type in jakarta.enterprise.lang.model.types
Subinterfaces of Type in jakarta.enterprise.lang.model.types Modifier and Type Interface Description interface
ArrayType
An array type is created from a component type.interface
ClassType
A class type, including interface types, enum types, annotation types and record types.interface
ParameterizedType
A parameterized type.interface
PrimitiveType
Primitive types are: boolean byte short int long float double charinterface
TypeVariable
Type variables represent type parameters declared on generic classes or methods.interface
VoidType
Thevoid
pseudo-type.interface
WildcardType
A wildcard type.Methods in jakarta.enterprise.lang.model.types that return Type Modifier and Type Method Description default Type
Type. asType()
Type
ArrayType. componentType()
Returns the component type of this array type, as defined by The Java™ Language Specification.Type
WildcardType. lowerBound()
Returns the lower bound of this wildcard type.Type
WildcardType. upperBound()
Returns the upper bound of this wildcard type.Methods in jakarta.enterprise.lang.model.types that return types with arguments of type Type Modifier and Type Method Description java.util.List<Type>
TypeVariable. bounds()
Returns the bounds declared for this type variable.java.util.List<Type>
ParameterizedType. typeArguments()
Returns the list of type arguments that were applied to a generic class to form this parameterized type.
-