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 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.
-