Uses of Interface
jakarta.enterprise.lang.model.AnnotationInfo
-
Packages that use AnnotationInfo Package Description jakarta.enterprise.lang.model 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 AnnotationInfo Modifier and Type Method Description <T extends Annotation>
AnnotationInfoAnnotationTarget. annotation(Class<T> annotationType)Returns an annotation of given type, if it is present on this annotation target.AnnotationInfoAnnotationMember. 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 Collection<AnnotationInfo>AnnotationTarget. annotations()Returns a collection of all annotations present on this annotation target.Collection<AnnotationInfo>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 AnnotationInfo Modifier and Type Method Description Collection<AnnotationInfo>AnnotationTarget. 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.
-