Package io.quarkus.arc.processor
Interface InjectionPointsTransformer
- All Superinterfaces:
BuildExtension
Allows a build-time extension to alter qualifiers on an injection point.
- Author:
- Matej Novotny
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic interfaceNested 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
Modifier and TypeMethodDescriptionbooleanappliesTo(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 Details
-
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
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-
-