Uses of Interface
jakarta.enterprise.lang.model.types.Type
Package
Description
The build compatible extension SPI.
The core interfaces of the language model that represent
annotations and
annotation targets.
Interfaces that represent declarations.
Interfaces that represent types.
-
Uses of Type in jakarta.enterprise.inject.build.compatible.spi
Modifier and TypeMethodDescriptionObserverInfo.eventType()
Returns the observed event type of this observer.Returns a type from given class literal.InjectionPointInfo.type()
Returns thetype
of this injection point.Modifier and TypeMethodDescriptionBeanInfo.types()
Returns a collection of all types of this bean.Modifier and TypeMethodDescription<T> SyntheticObserverBuilder
<T> SyntheticComponents.addObserver
(Type eventType) Creates aSyntheticObserverBuilder
that allows configuring a new synthetic observer for giveneventType
.Adds a class-valued annotation member with givenname
.Adds a class array-valued annotation member with givenname
.Returns anArrayType
for the given element type and number of dimensions.Types.parameterized
(ClassType genericType, Type... typeArguments) Returns aParameterizedType
for the given generic type and type arguments.Types.parameterized
(Class<?> genericType, Type... typeArguments) Returns aParameterizedType
for the given generic type and type arguments.Addstype
to the set of bean types of this synthetic bean.default AnnotationBuilder
Adds a class-valued annotation member calledvalue
.default AnnotationBuilder
Adds a class array-valued annotation member calledvalue
.Types.wildcardWithLowerBound
(Type lowerBound) Returns aWildcardType
that represents an equivalent of? super lowerBound
.Types.wildcardWithUpperBound
(Type upperBound) Returns aWildcardType
that represents an equivalent of? extends upperBound
. -
Uses of Type in jakarta.enterprise.lang.model
-
Uses of Type in jakarta.enterprise.lang.model.declarations
Modifier and TypeMethodDescriptiondefault Type
DeclarationInfo.asType()
MethodInfo.receiverType()
Returns the type of the receiver parameter declared by this method.MethodInfo.returnType()
Returns the return type of this method.ClassInfo.superClass()
Returns the direct superclass type of this class.FieldInfo.type()
Returns the type of this field.ParameterInfo.type()
Returns the type of this parameter.RecordComponentInfo.type()
Returns the type of this record component.Modifier and TypeMethodDescriptionClassInfo.superInterfaces()
Returns a list of direct superinterface types of this class.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
Modifier and TypeInterfaceDescriptioninterface
An array type is created from a component type.interface
A class type, including interface types, enum types, annotation types and record types.interface
A parameterized type.interface
Primitive types are: boolean byte short int long float double charinterface
Type variables represent type parameters declared on generic classes or methods.interface
Thevoid
pseudo-type.interface
A wildcard type.Modifier and TypeMethodDescriptiondefault Type
Type.asType()
ArrayType.componentType()
Returns the component type of this array type, as defined by The Java™ Language Specification.WildcardType.lowerBound()
Returns the lower bound of this wildcard type.WildcardType.upperBound()
Returns the upper bound of this wildcard type.