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 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:
      apply in interface Function<org.jboss.jandex.AnnotationTarget,Collection<org.jboss.jandex.AnnotationInstance>>