Interface InjectionPointsTransformer.TransformationContext

All Superinterfaces:
BuildExtension.BuildContext
Enclosing interface:
InjectionPointsTransformer

public static interface InjectionPointsTransformer.TransformationContext extends BuildExtension.BuildContext
  • Method Details

    • getTarget

      org.jboss.jandex.AnnotationTarget getTarget()
      Returns AnnotationTarget representing this injection point.
      Returns:
      the annotation target of this injection point
    • getQualifiers

      Set<org.jboss.jandex.AnnotationInstance> getQualifiers()
      Returns current set of annotations instances - qualifiers.
      Returns:
      the annotation instances
    • getAllAnnotations

      Collection<org.jboss.jandex.AnnotationInstance> getAllAnnotations()
      Retrieves all annotations attached to the AnnotationTarget that this transformer operates on even if they were altered by AnnotationsTransformer. This method is preferred to manual inspection of AnnotationTarget which may, in some corner cases, hold outdated information. The resulting set of annotations contains all annotations, not just CDI qualifiers. If the annotation target is a method, then this set contains annotations that belong to the method itself as well as to its parameters.
      Returns:
      collection of all annotations related to given AnnotationTarget
    • transform

      The transformation is not applied until the AnnotationsTransformation.done() method is invoked.
      Returns:
      a new transformation