Uses of Interface
jakarta.enterprise.lang.model.declarations.ClassInfo
-
Packages that use ClassInfo 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 ClassInfo in jakarta.enterprise.inject.build.compatible.spi
Methods in jakarta.enterprise.inject.build.compatible.spi that return ClassInfo Modifier and Type Method Description ClassInfo
ScopeInfo. annotation()
Returns the declaration of this scope annotation.ClassInfo
BeanInfo. declaringClass()
Returns the class that declares this bean.ClassInfo
ObserverInfo. declaringClass()
Returns the class that declares this observer.ClassInfo
ClassConfig. info()
Returns theClassInfo
corresponding to this transformed class.Methods in jakarta.enterprise.inject.build.compatible.spi with parameters of type ClassInfo Modifier and Type Method Description AnnotationBuilder
AnnotationBuilderFactory. create(ClassInfo annotationType)
Returns a newAnnotationBuilder
for given annotation type.SyntheticObserverBuilder<T>
SyntheticObserverBuilder. declaringClass(ClassInfo declaringClass)
Sets the bean class that "declares" this synthetic observer.AnnotationBuilder
AnnotationBuilder. member(java.lang.String name, ClassInfo value)
Adds a class-valued annotation member with givenname
.AnnotationBuilder
AnnotationBuilder. member(java.lang.String name, ClassInfo[] values)
Adds a class array-valued annotation member with givenname
.AnnotationBuilder
AnnotationBuilder. member(java.lang.String name, ClassInfo enumType, java.lang.String enumValue)
Adds an enum-valued annotation member with givenname
.AnnotationBuilder
AnnotationBuilder. member(java.lang.String name, ClassInfo enumType, java.lang.String[] enumValues)
Adds an enum array-valued annotation member with givenname
.static AnnotationBuilder
AnnotationBuilder. of(ClassInfo annotationType)
Returns a newAnnotationBuilder
that builds an annotation of given type.ClassType
Types. ofClass(ClassInfo clazz)
Returns aClassType
for the given class declaration.SyntheticBeanBuilder<T>
SyntheticBeanBuilder. stereotype(ClassInfo stereotypeAnnotation)
AddsstereotypeAnnotation
to the set of stereotypes of this synthetic bean.SyntheticBeanBuilder<T>
SyntheticBeanBuilder. type(ClassInfo type)
Addstype
to the set of bean types of this synthetic bean.default AnnotationBuilder
AnnotationBuilder. value(ClassInfo value)
Adds a class-valued annotation member calledvalue
.default AnnotationBuilder
AnnotationBuilder. value(ClassInfo[] values)
Adds a class array-valued annotation member calledvalue
.default AnnotationBuilder
AnnotationBuilder. value(ClassInfo enumType, java.lang.String enumValue)
Adds an enum-valued annotation member calledvalue
.default AnnotationBuilder
AnnotationBuilder. value(ClassInfo enumType, java.lang.String[] enumValues)
Adds an enum array-valued annotation member calledvalue
.SyntheticBeanBuilder<T>
SyntheticBeanBuilder. withParam(java.lang.String key, ClassInfo value)
Adds aClass
-valued parameter to the parameter map.SyntheticBeanBuilder<T>
SyntheticBeanBuilder. withParam(java.lang.String key, ClassInfo[] value)
Adds aClass
array-valued parameter to the parameter map.SyntheticObserverBuilder<T>
SyntheticObserverBuilder. withParam(java.lang.String key, ClassInfo value)
Adds aClass
-valued parameter to the parameter map.SyntheticObserverBuilder<T>
SyntheticObserverBuilder. withParam(java.lang.String key, ClassInfo[] value)
Adds aClass
array-valued parameter to the parameter map. -
Uses of ClassInfo in jakarta.enterprise.lang.model
Methods in jakarta.enterprise.lang.model that return ClassInfo Modifier and Type Method Description ClassInfo
AnnotationMember. asEnumClass()
Returns the type of this enum value.ClassInfo
AnnotationInfo. declaration()
Returns the declaration of this annotation's type. -
Uses of ClassInfo in jakarta.enterprise.lang.model.declarations
Methods in jakarta.enterprise.lang.model.declarations that return ClassInfo Modifier and Type Method Description default ClassInfo
ClassInfo. asClass()
default ClassInfo
DeclarationInfo. asClass()
Returns this declaration as a class.ClassInfo
FieldInfo. declaringClass()
Returns the class that declares this field.ClassInfo
MethodInfo. declaringClass()
Returns the class that declares this method.ClassInfo
RecordComponentInfo. declaringRecord()
Returns the record that declares this component.ClassInfo
ClassInfo. superClassDeclaration()
Returns the declaration of this class's superclass.Methods in jakarta.enterprise.lang.model.declarations that return types with arguments of type ClassInfo Modifier and Type Method Description java.util.List<ClassInfo>
ClassInfo. superInterfacesDeclarations()
Returns a list of declarations of this class's direct superinterfaces. -
Uses of ClassInfo in jakarta.enterprise.lang.model.types
Methods in jakarta.enterprise.lang.model.types that return ClassInfo Modifier and Type Method Description ClassInfo
ClassType. declaration()
Returns the declaration of this class type.default ClassInfo
ParameterizedType. declaration()
Returns the declaration of the generic class that was parameterized with a list of type arguments to form this parameterized type.
-