public final class AnnotationStore extends Object
AnnotationsTransformers and caches the results of transformations.AnnotationsTransformer| Modifier and Type | Method and Description |
|---|---|
org.jboss.jandex.AnnotationInstance |
getAnnotation(org.jboss.jandex.AnnotationTarget target,
org.jboss.jandex.DotName name) |
Collection<org.jboss.jandex.AnnotationInstance> |
getAnnotations(org.jboss.jandex.AnnotationTarget target)
All
AnnotationsTransformers are applied and the result is cached. |
boolean |
hasAnnotation(org.jboss.jandex.AnnotationTarget target,
org.jboss.jandex.DotName name) |
boolean |
hasAnyAnnotation(org.jboss.jandex.AnnotationTarget target,
Iterable<org.jboss.jandex.DotName> names) |
public Collection<org.jboss.jandex.AnnotationInstance> getAnnotations(org.jboss.jandex.AnnotationTarget target)
AnnotationsTransformers are applied and the result is cached.target - public org.jboss.jandex.AnnotationInstance getAnnotation(org.jboss.jandex.AnnotationTarget target,
org.jboss.jandex.DotName name)
target - name - null otherwisegetAnnotations(AnnotationTarget)public boolean hasAnnotation(org.jboss.jandex.AnnotationTarget target,
org.jboss.jandex.DotName name)
target - name - true if the specified target contains the specified annotation, @{code false} otherwisegetAnnotations(AnnotationTarget)public boolean hasAnyAnnotation(org.jboss.jandex.AnnotationTarget target,
Iterable<org.jboss.jandex.DotName> names)
target - names - true if the specified target contains any of the specified annotations, @{code false} otherwisegetAnnotations(AnnotationTarget)Copyright © 2021 JBoss by Red Hat. All rights reserved.