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