Uses of Interface
jakarta.enterprise.lang.model.types.Type
-
Packages that use Type Package Description jakarta.enterprise.inject.build.compatible.spi The build compatible extension SPI.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.inject.build.compatible.spi
Methods in jakarta.enterprise.inject.build.compatible.spi that return Type Modifier and Type Method Description Type
ObserverInfo. eventType()
Returns the observed event type of this observer.Type
Types. of(java.lang.Class<?> clazz)
Returns a type from given class literal.Type
InjectionPointInfo. type()
Returns thetype
of this injection point.Methods in jakarta.enterprise.inject.build.compatible.spi that return types with arguments of type Type Modifier and Type Method Description java.util.Collection<Type>
BeanInfo. types()
Returns a collection of all types of this bean.Methods in jakarta.enterprise.inject.build.compatible.spi with parameters of type Type Modifier and Type Method Description <T> SyntheticObserverBuilder<T>
SyntheticComponents. addObserver(Type eventType)
Creates aSyntheticObserverBuilder
that allows configuring a new synthetic observer for giveneventType
.AnnotationBuilder
AnnotationBuilder. member(java.lang.String name, Type value)
Adds a class-valued annotation member with givenname
.AnnotationBuilder
AnnotationBuilder. member(java.lang.String name, Type[] values)
Adds a class array-valued annotation member with givenname
.ArrayType
Types. ofArray(Type elementType, int dimensions)
Returns anArrayType
for the given element type and number of dimensions.ParameterizedType
Types. parameterized(ClassType genericType, Type... typeArguments)
Returns aParameterizedType
for the given generic type and type arguments.ParameterizedType
Types. parameterized(java.lang.Class<?> genericType, Type... typeArguments)
Returns aParameterizedType
for the given generic type and type arguments.SyntheticBeanBuilder<T>
SyntheticBeanBuilder. type(Type type)
Addstype
to the set of bean types of this synthetic bean.default AnnotationBuilder
AnnotationBuilder. value(Type value)
Adds a class-valued annotation member calledvalue
.default AnnotationBuilder
AnnotationBuilder. value(Type[] values)
Adds a class array-valued annotation member calledvalue
.WildcardType
Types. wildcardWithLowerBound(Type lowerBound)
Returns aWildcardType
that represents an equivalent of? super lowerBound
.WildcardType
Types. wildcardWithUpperBound(Type upperBound)
Returns aWildcardType
that represents an equivalent of? extends upperBound
. -
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 type of this class's superclass.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 types of this class's direct superinterfaces.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.
-