Uses of Interface
jakarta.enterprise.lang.model.AnnotationInfo
Packages that use AnnotationInfo
Package
Description
The core interfaces of the language model that represent
annotations and
annotation targets.
-
Uses of AnnotationInfo in jakarta.enterprise.lang.model
Methods in jakarta.enterprise.lang.model that return AnnotationInfoModifier 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.Methods in jakarta.enterprise.lang.model that return types with arguments of type AnnotationInfoModifier 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 repeatableannotationTypethat are present on this annotation target.Method parameters in jakarta.enterprise.lang.model with type arguments of type AnnotationInfoModifier and TypeMethodDescriptionAnnotationTarget.annotations(Predicate<AnnotationInfo> predicate) Returns a collection of all annotations present on this annotation target that match given predicate.booleanAnnotationTarget.hasAnnotation(Predicate<AnnotationInfo> predicate) Returns whether given predicate matches any annotation present on this annotation target.