Class 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:
    AnnotationsTransformer
    • Constructor Detail

      • TransformedAnnotationsBuildItem

        TransformedAnnotationsBuildItem​(BeanDeployment beanDeployment)
    • Method Detail

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