Uses of Interface
jakarta.enterprise.lang.model.AnnotationInfo
-
Packages that use AnnotationInfo 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. -
-
Uses of AnnotationInfo in jakarta.enterprise.inject.build.compatible.spi
Methods in jakarta.enterprise.inject.build.compatible.spi that return AnnotationInfo Modifier and Type Method Description AnnotationInfo
AnnotationBuilder. build()
Returns anAnnotationInfo
that includes all annotation members defined by previous method calls on this builder.Methods in jakarta.enterprise.inject.build.compatible.spi that return types with arguments of type AnnotationInfo Modifier and Type Method Description java.util.Collection<AnnotationInfo>
InterceptorInfo. interceptorBindings()
Returns the set of interceptor binding annotations declared on this interceptor.java.util.Collection<AnnotationInfo>
StereotypeInfo. interceptorBindings()
Returns the set of interceptor binding annotations defined by this stereotype.java.util.Collection<AnnotationInfo>
BeanInfo. qualifiers()
Returns a collection of this bean's qualifiers, represented asAnnotationInfo
.java.util.Collection<AnnotationInfo>
InjectionPointInfo. qualifiers()
Returns a collection of qualifiers declared on this injection point, represented asAnnotationInfo
.java.util.Collection<AnnotationInfo>
ObserverInfo. qualifiers()
Returns a collection of observed event qualifiers, represented asAnnotationInfo
.Methods in jakarta.enterprise.inject.build.compatible.spi with parameters of type AnnotationInfo Modifier and Type Method Description ClassConfig
ClassConfig. addAnnotation(AnnotationInfo annotation)
Adds given annotation to this class.DeclarationConfig
DeclarationConfig. addAnnotation(AnnotationInfo annotation)
Adds given annotation to this declaration.FieldConfig
FieldConfig. addAnnotation(AnnotationInfo annotation)
Adds given annotation to this field.MethodConfig
MethodConfig. addAnnotation(AnnotationInfo annotation)
Adds given annotation to this method.ParameterConfig
ParameterConfig. addAnnotation(AnnotationInfo annotation)
Adds given annotation to this method parameter.AnnotationBuilder
AnnotationBuilder. member(java.lang.String name, AnnotationInfo value)
Adds an annotation-valued annotation member with givenname
.AnnotationBuilder
AnnotationBuilder. member(java.lang.String name, AnnotationInfo[] values)
Adds an annotation array-valued annotation member with givenname
.SyntheticBeanBuilder<T>
SyntheticBeanBuilder. qualifier(AnnotationInfo qualifierAnnotation)
Adds given annotation to the set of qualifiers of this synthetic bean.SyntheticObserverBuilder<T>
SyntheticObserverBuilder. qualifier(AnnotationInfo qualifierAnnotation)
Adds given annotation to the set of qualifiers of this synthetic observer.default AnnotationBuilder
AnnotationBuilder. value(AnnotationInfo value)
Adds an annotation-valued annotation member calledvalue
.default AnnotationBuilder
AnnotationBuilder. value(AnnotationInfo[] values)
Adds an annotation array-valued annotation member calledvalue
.SyntheticBeanBuilder<T>
SyntheticBeanBuilder. withParam(java.lang.String key, AnnotationInfo value)
Adds an annotation-valued parameter to the parameter map.SyntheticBeanBuilder<T>
SyntheticBeanBuilder. withParam(java.lang.String key, AnnotationInfo[] value)
Adds an annotation array-valued parameter to the parameter map.SyntheticObserverBuilder<T>
SyntheticObserverBuilder. withParam(java.lang.String key, AnnotationInfo value)
Adds an annotation-valued parameter to the parameter map.SyntheticObserverBuilder<T>
SyntheticObserverBuilder. withParam(java.lang.String key, AnnotationInfo[] value)
Adds an annotation array-valued parameter to the parameter map.Method parameters in jakarta.enterprise.inject.build.compatible.spi with type arguments of type AnnotationInfo Modifier and Type Method Description ClassConfig
ClassConfig. removeAnnotation(java.util.function.Predicate<AnnotationInfo> predicate)
Removes all annotations matching given predicate from this class.DeclarationConfig
DeclarationConfig. removeAnnotation(java.util.function.Predicate<AnnotationInfo> predicate)
Removes all annotations matching given predicate from this declaration.FieldConfig
FieldConfig. removeAnnotation(java.util.function.Predicate<AnnotationInfo> predicate)
Removes all annotations matching given predicate from this field.MethodConfig
MethodConfig. removeAnnotation(java.util.function.Predicate<AnnotationInfo> predicate)
Removes all annotations matching given predicate from this method.ParameterConfig
ParameterConfig. removeAnnotation(java.util.function.Predicate<AnnotationInfo> predicate)
Removes all annotations matching given predicate from this method parameter. -
Uses of AnnotationInfo in jakarta.enterprise.lang.model
Methods in jakarta.enterprise.lang.model that return AnnotationInfo Modifier and Type Method Description <T extends java.lang.annotation.Annotation>
AnnotationInfoAnnotationTarget. annotation(java.lang.Class<T> annotationType)
Returns an annotation of given type, if it is present on this annotation target.AnnotationInfo
AnnotationMember. asNestedAnnotation()
Returns this nested annotation value as anAnnotationInfo
.Methods in jakarta.enterprise.lang.model that return types with arguments of type AnnotationInfo Modifier and Type Method Description java.util.Collection<AnnotationInfo>
AnnotationTarget. annotations()
Returns a collection of all annotations present on this annotation target.java.util.Collection<AnnotationInfo>
AnnotationTarget. annotations(java.util.function.Predicate<AnnotationInfo> predicate)
Returns a collection of all annotations present on this annotation target that match given predicate.<T extends java.lang.annotation.Annotation>
java.util.Collection<AnnotationInfo>AnnotationTarget. repeatableAnnotation(java.lang.Class<T> annotationType)
Returns a collection of annotations of given repeatableannotationType
that are present on this annotation target.Method parameters in jakarta.enterprise.lang.model with type arguments of type AnnotationInfo Modifier and Type Method Description java.util.Collection<AnnotationInfo>
AnnotationTarget. annotations(java.util.function.Predicate<AnnotationInfo> predicate)
Returns a collection of all annotations present on this annotation target that match given predicate.boolean
AnnotationTarget. hasAnnotation(java.util.function.Predicate<AnnotationInfo> predicate)
Returns whether given predicate matches any annotation present on this annotation target.
-