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
public static final class InjectionPointsTransformer.Transformation extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected CmodifiedAnnotations
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Tadd(Class<? extends Annotation> annotationType, org.jboss.jandex.AnnotationValue... values)NOTE: The annotation target is derived from the transformation context.Tadd(org.jboss.jandex.AnnotationInstance annotation)Tadd(org.jboss.jandex.DotName name, org.jboss.jandex.AnnotationValue... values)NOTE: The annotation target is derived from the transformation context..TaddAll(Collection<org.jboss.jandex.AnnotationInstance> annotations)TaddAll(org.jboss.jandex.AnnotationInstance... annotations)voiddone()Applies the transformation.Tremove(Predicate<org.jboss.jandex.AnnotationInstance> predicate)Remove all annotations matching the given predicate.TremoveAll()Remove all annotations.protected InjectionPointsTransformer.Transformationself()
-
-
-
Field Detail
-
modifiedAnnotations
protected final C extends Collection<org.jboss.jandex.AnnotationInstance> modifiedAnnotations
-
-
Method Detail
-
self
protected InjectionPointsTransformer.Transformation self()
-
add
public T add(org.jboss.jandex.AnnotationInstance annotation)
- Specified by:
addin interfaceAnnotationsTransformation<T extends AnnotationsTransformation<T>>- Returns:
- self
-
addAll
public T addAll(Collection<org.jboss.jandex.AnnotationInstance> annotations)
- Specified by:
addAllin interfaceAnnotationsTransformation<T extends AnnotationsTransformation<T>>- Returns:
- self
-
addAll
public T addAll(org.jboss.jandex.AnnotationInstance... annotations)
- Specified by:
addAllin interfaceAnnotationsTransformation<T extends AnnotationsTransformation<T>>- Returns:
- self
-
add
public T add(Class<? extends Annotation> annotationType, org.jboss.jandex.AnnotationValue... values)
Description copied from interface:AnnotationsTransformationNOTE: The annotation target is derived from the transformation context. If you need to add an annotation instance to a method parameter use methods consumingAnnotationInstancedirectly and supply the correctMethodParameterInfo.- Specified by:
addin interfaceAnnotationsTransformation<T extends AnnotationsTransformation<T>>- Returns:
- self
-
add
public T add(org.jboss.jandex.DotName name, org.jboss.jandex.AnnotationValue... values)Description copied from interface:AnnotationsTransformationNOTE: The annotation target is derived from the transformation context.. If you need to add an annotation instance to a method parameter use methods consumingAnnotationInstancedirectly and supply the correctMethodParameterInfo.- Specified by:
addin interfaceAnnotationsTransformation<T extends AnnotationsTransformation<T>>- Returns:
- self
-
remove
public T 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>>- Returns:
- self
-
removeAll
public T 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>>
-
-