public static interface InjectionPointsTransformer.TransformationContext extends BuildExtension.BuildContext
| Modifier and Type | Method and Description |
|---|---|
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. |
Set<org.jboss.jandex.AnnotationInstance> |
getQualifiers()
Returns current set of annotations instances - qualifiers.
|
org.jboss.jandex.AnnotationTarget |
getTarget()
Returns
AnnotationTarget representing this injection point. |
InjectionPointsTransformer.Transformation |
transform()
The transformation is not applied until the
AbstractAnnotationsTransformation.done() method is invoked. |
get, putorg.jboss.jandex.AnnotationTarget getTarget()
AnnotationTarget representing this injection point.Set<org.jboss.jandex.AnnotationInstance> getQualifiers()
Collection<org.jboss.jandex.AnnotationInstance> getAllAnnotations()
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.AnnotationTargetInjectionPointsTransformer.Transformation transform()
AbstractAnnotationsTransformation.done() method is invoked.Copyright © 2021 JBoss by Red Hat. All rights reserved.