Interface InjectionPointsTransformer.TransformationContext

    • Method Detail

      • 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