Package io.quarkus.arc.processor
Interface AnnotationsTransformation<T extends AnnotationsTransformation<T>>
- All Known Subinterfaces:
ObserverTransformer.ObserverTransformation
- All Known Implementing Classes:
InjectionPointsTransformer.Transformation,Transformation
public interface AnnotationsTransformation<T extends AnnotationsTransformation<T>>
Represents a transformation of a collection of
AnnotationInstance instances.-
Method Summary
Modifier and TypeMethodDescriptionadd(Class<? extends Annotation> annotationType, org.jboss.jandex.AnnotationValue... values) NOTE: The annotation target 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 target 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.
-
Method Details
-
add
- Parameters:
annotation-- Returns:
- self
-
addAll
- Parameters:
annotations-- Returns:
- self
-
addAll
- Parameters:
annotations-- Returns:
- self
-
add
NOTE: 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.- Parameters:
annotationType-values-- Returns:
- self
-
add
NOTE: 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.- Parameters:
name-values-- Returns:
- self
-
remove
Remove all annotations matching the given predicate.- Parameters:
predicate-- Returns:
- self
-
removeAll
T removeAll()Remove all annotations.- Returns:
- self
-
done
void done()Applies the transformation.
-