Package io.quarkus.arc.processor
Interface InjectionPointsTransformer.TransformationContext
-
- All Superinterfaces:
BuildExtension.BuildContext
- Enclosing interface:
- InjectionPointsTransformer
public static interface InjectionPointsTransformer.TransformationContext extends BuildExtension.BuildContext
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Collection<org.jboss.jandex.AnnotationInstance>getAllAnnotations()Retrieves all annotations attached to theAnnotationTargetthat this transformer operates on even if they were altered byAnnotationsTransformer.Set<org.jboss.jandex.AnnotationInstance>getQualifiers()Returns current set of annotations instances - qualifiers.org.jboss.jandex.AnnotationTargetgetTarget()ReturnsAnnotationTargetrepresenting this injection point.InjectionPointsTransformer.Transformationtransform()The transformation is not applied until theAnnotationsTransformation.done()method is invoked.-
Methods inherited from interface io.quarkus.arc.processor.BuildExtension.BuildContext
get, put
-
-
-
-
Method Detail
-
getTarget
org.jboss.jandex.AnnotationTarget getTarget()
ReturnsAnnotationTargetrepresenting 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 theAnnotationTargetthat this transformer operates on even if they were altered byAnnotationsTransformer. This method is preferred to manual inspection ofAnnotationTargetwhich 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
InjectionPointsTransformer.Transformation transform()
The transformation is not applied until theAnnotationsTransformation.done()method is invoked.- Returns:
- a new transformation
-
-