Package io.quarkus.arc.deployment
Class TransformedAnnotationsBuildItem
java.lang.Object
io.quarkus.builder.item.BuildItem
io.quarkus.builder.item.SimpleBuildItem
io.quarkus.arc.deployment.TransformedAnnotationsBuildItem
- All Implemented Interfaces:
Function<org.jboss.jandex.AnnotationTarget,Collection<org.jboss.jandex.AnnotationInstance>>
public final class TransformedAnnotationsBuildItem
extends io.quarkus.builder.item.SimpleBuildItem
implements Function<org.jboss.jandex.AnnotationTarget,Collection<org.jboss.jandex.AnnotationInstance>>
Makes it possible to query transformed annotations for a given annotation target.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCollection<org.jboss.jandex.AnnotationInstance>apply(org.jboss.jandex.AnnotationTarget target) org.jboss.jandex.AnnotationInstancegetAnnotation(org.jboss.jandex.AnnotationTarget target, Class<? extends Annotation> annotationClass) org.jboss.jandex.AnnotationInstancegetAnnotation(org.jboss.jandex.AnnotationTarget target, org.jboss.jandex.DotName annotationName) Collection<org.jboss.jandex.AnnotationInstance>getAnnotations(org.jboss.jandex.AnnotationTarget target) booleanhasAnnotation(org.jboss.jandex.AnnotationTarget target, Class<? extends Annotation> annotationClass) booleanhasAnnotation(org.jboss.jandex.AnnotationTarget target, org.jboss.jandex.DotName annotationName)
-
Constructor Details
-
TransformedAnnotationsBuildItem
TransformedAnnotationsBuildItem(BeanDeployment beanDeployment)
-
-
Method Details
-
getAnnotations
public Collection<org.jboss.jandex.AnnotationInstance> getAnnotations(org.jboss.jandex.AnnotationTarget target) -
getAnnotation
public org.jboss.jandex.AnnotationInstance getAnnotation(org.jboss.jandex.AnnotationTarget target, org.jboss.jandex.DotName annotationName) -
getAnnotation
public org.jboss.jandex.AnnotationInstance getAnnotation(org.jboss.jandex.AnnotationTarget target, Class<? extends Annotation> annotationClass) -
hasAnnotation
public boolean hasAnnotation(org.jboss.jandex.AnnotationTarget target, org.jboss.jandex.DotName annotationName) -
hasAnnotation
public boolean hasAnnotation(org.jboss.jandex.AnnotationTarget target, Class<? extends Annotation> annotationClass) -
apply
public Collection<org.jboss.jandex.AnnotationInstance> apply(org.jboss.jandex.AnnotationTarget target) - Specified by:
applyin interfaceFunction<org.jboss.jandex.AnnotationTarget,Collection<org.jboss.jandex.AnnotationInstance>>
-