Package io.quarkus.arc.processor
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
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classInjectionPointsTransformer.Transformationstatic interfaceInjectionPointsTransformer.TransformationContext-
Nested classes/interfaces inherited from interface io.quarkus.arc.processor.BuildExtension
BuildExtension.BuildContext, BuildExtension.Key<T>, BuildExtension.SimpleKey<V>
-
-
Field Summary
-
Fields inherited from interface io.quarkus.arc.processor.BuildExtension
DEFAULT_PRIORITY
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanappliesTo(org.jboss.jandex.Type requiredType)Returns true if this transformer is meant to be applied to the suppliedrequiredType.voidtransform(InjectionPointsTransformer.TransformationContext transformationContext)Method is invoked for each injection point that returns true fromappliesTo(Type).-
Methods inherited from interface io.quarkus.arc.processor.BuildExtension
getPriority, initialize
-
-
-
-
Method Detail
-
appliesTo
boolean appliesTo(org.jboss.jandex.Type requiredType)
Returns true if this transformer is meant to be applied to the suppliedrequiredType.- 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 fromappliesTo(Type). For further filtering (declaring class, qualifiers present and so on), user can use helper methods present withinInjectionPointsTransformer.TransformationContext.- Parameters:
transformationContext-
-
-