public interface AnnotationsTransformation<T extends AnnotationsTransformation<T>>
AnnotationInstance instances.| Modifier and Type | Method and Description |
|---|---|
T |
add(org.jboss.jandex.AnnotationInstance annotation) |
T |
add(Class<? extends Annotation> annotationType,
org.jboss.jandex.AnnotationValue... values)
NOTE: The annotation target is derived from the transformation context.
|
T |
add(org.jboss.jandex.DotName name,
org.jboss.jandex.AnnotationValue... values)
NOTE: The annotation target is derived from the transformation context..
|
T |
addAll(org.jboss.jandex.AnnotationInstance... annotations) |
T |
addAll(Collection<org.jboss.jandex.AnnotationInstance> annotations) |
void |
done()
Applies the transformation.
|
T |
remove(Predicate<org.jboss.jandex.AnnotationInstance> predicate)
Remove all annotations matching the given predicate.
|
T |
removeAll()
Remove all annotations.
|
T add(org.jboss.jandex.AnnotationInstance annotation)
annotation - T addAll(Collection<org.jboss.jandex.AnnotationInstance> annotations)
annotations - T addAll(org.jboss.jandex.AnnotationInstance... annotations)
annotations - T add(Class<? extends Annotation> annotationType, org.jboss.jandex.AnnotationValue... values)
AnnotationInstance directly and supply the correct
MethodParameterInfo.annotationType - values - T add(org.jboss.jandex.DotName name, org.jboss.jandex.AnnotationValue... values)
AnnotationInstance directly and supply the correct
MethodParameterInfo.name - values - T remove(Predicate<org.jboss.jandex.AnnotationInstance> predicate)
predicate - T removeAll()
void done()
Copyright © 2021 JBoss by Red Hat. All rights reserved.