Interface InjectionPointsTransformer

All Superinterfaces:
BuildExtension

public interface InjectionPointsTransformer extends BuildExtension
Allows a build-time extension to alter qualifiers on an injection point.

Author:
Matej Novotny
  • Method Details

    • appliesTo

      boolean appliesTo(org.jboss.jandex.Type requiredType)
      Returns true if this transformer is meant to be applied to the supplied requiredType.
      Parameters:
      requiredType - the declared type of the injection point
    • transform

      void transform(InjectionPointsTransformer.TransformationContext transformationContext)
      Method is invoked for each injection point that returns true from appliesTo(Type). For further filtering (declaring class, qualifiers present and so on), user can use helper methods present within InjectionPointsTransformer.TransformationContext.
      Parameters:
      transformationContext -