Class Transformation

    • Constructor Summary

      Constructors 
      Constructor Description
      Transformation​(Collection<org.jboss.jandex.AnnotationInstance> annotations, org.jboss.jandex.AnnotationTarget target, Consumer<Collection<org.jboss.jandex.AnnotationInstance>> transformationConsumer)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      T add​(Class<? extends Annotation> annotationType, org.jboss.jandex.AnnotationValue... values)
      NOTE: The annotation target is derived from the transformation context.
      T add​(org.jboss.jandex.AnnotationInstance annotation)  
      T add​(org.jboss.jandex.DotName name, org.jboss.jandex.AnnotationValue... values)
      NOTE: The annotation target is derived from the transformation context..
      T addAll​(Collection<org.jboss.jandex.AnnotationInstance> annotations)  
      T addAll​(org.jboss.jandex.AnnotationInstance... annotations)  
      void done()
      Applies the transformation.
      T remove​(Predicate<org.jboss.jandex.AnnotationInstance> predicate)
      Remove all annotations matching the given predicate.
      T removeAll()
      Remove all annotations.
      protected Transformation self()