Package io.quarkus.arc.processor
Class InjectionPointsTransformer.Transformation
java.lang.Object
io.quarkus.arc.processor.InjectionPointsTransformer.Transformation
- All Implemented Interfaces:
AnnotationsTransformation<InjectionPointsTransformer.Transformation>
- Enclosing interface:
InjectionPointsTransformer
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionadd(Class<? extends Annotation> annotationType, org.jboss.jandex.AnnotationValue... values) NOTE: The annotation will belong to an annotation target which is derived from the transformation context.add(org.jboss.jandex.AnnotationInstance annotation) add(org.jboss.jandex.DotName name, org.jboss.jandex.AnnotationValue... values) NOTE: The annotation will belong to an annotation target which is derived from the transformation context.addAll(Collection<org.jboss.jandex.AnnotationInstance> annotations) addAll(org.jboss.jandex.AnnotationInstance... annotations) voiddone()Applies the transformation.Remove all annotations matching the given predicate.Remove all annotations.self()
-
Field Details
-
modifiedAnnotations
-
-
Method Details
-
self
-
add
public InjectionPointsTransformer.Transformation add(org.jboss.jandex.AnnotationInstance annotation) - Specified by:
addin interfaceAnnotationsTransformation<T extends AnnotationsTransformation<T>>- Parameters:
annotation-- Returns:
- self
-
addAll
public InjectionPointsTransformer.Transformation addAll(Collection<org.jboss.jandex.AnnotationInstance> annotations) - Specified by:
addAllin interfaceAnnotationsTransformation<T extends AnnotationsTransformation<T>>- Parameters:
annotations-- Returns:
- self
-
addAll
public InjectionPointsTransformer.Transformation addAll(org.jboss.jandex.AnnotationInstance... annotations) - Specified by:
addAllin interfaceAnnotationsTransformation<T extends AnnotationsTransformation<T>>- Parameters:
annotations-- Returns:
- self
-
add
public InjectionPointsTransformer.Transformation add(Class<? extends Annotation> annotationType, org.jboss.jandex.AnnotationValue... values) Description copied from interface:AnnotationsTransformationNOTE: The annotation will belong to an annotation target which is derived from the transformation context. Each transformation context has means to obtain its annotation target such asAnnotationsTransformer.TransformationContext.getTarget()orInjectionPointsTransformer.TransformationContext.getAnnotationTarget().If you need to add an annotation instance to a method parameter and the annotation target is the whole method, use methods consuming
AnnotationInstancedirectly and supply the correctMethodParameterInfo.- Specified by:
addin interfaceAnnotationsTransformation<T extends AnnotationsTransformation<T>>- Parameters:
annotationType-values-- Returns:
- self
-
add
public InjectionPointsTransformer.Transformation add(org.jboss.jandex.DotName name, org.jboss.jandex.AnnotationValue... values) Description copied from interface:AnnotationsTransformationNOTE: The annotation will belong to an annotation target which is derived from the transformation context. Each transformation context has means to obtain its annotation target such asAnnotationsTransformer.TransformationContext.getTarget()orInjectionPointsTransformer.TransformationContext.getAnnotationTarget().If you need to add an annotation instance to a method parameter and the annotation target is the whole method, use methods consuming
AnnotationInstancedirectly and supply the correctMethodParameterInfo.- Specified by:
addin interfaceAnnotationsTransformation<T extends AnnotationsTransformation<T>>- Parameters:
name-values-- Returns:
- self
-
remove
public InjectionPointsTransformer.Transformation remove(Predicate<org.jboss.jandex.AnnotationInstance> predicate) Description copied from interface:AnnotationsTransformationRemove all annotations matching the given predicate.- Specified by:
removein interfaceAnnotationsTransformation<T extends AnnotationsTransformation<T>>- Parameters:
predicate-- Returns:
- self
-
removeAll
Description copied from interface:AnnotationsTransformationRemove all annotations.- Specified by:
removeAllin interfaceAnnotationsTransformation<T extends AnnotationsTransformation<T>>- Returns:
- self
-
done
public void done()Description copied from interface:AnnotationsTransformationApplies the transformation.- Specified by:
donein interfaceAnnotationsTransformation<T extends AnnotationsTransformation<T>>
-