Interface AnnotationsTransformer.TransformationContext
-
- Enclosing interface:
- AnnotationsTransformer
public static interface AnnotationsTransformer.TransformationContextA transformation context.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Collection<org.jboss.jandex.AnnotationInstance>getAnnotations()The initial set of annotations instances corresponds toClassInfo.classAnnotations(),FieldInfo.annotations()andMethodInfo.annotations()respectively.org.jboss.jandex.AnnotationTargetgetTarget()default booleanisClass()default booleanisField()default booleanisMethod()Transformationtransform()The transformation is not applied until theAnnotationsTransformation.done()method is invoked.
-
-
-
Method Detail
-
getTarget
org.jboss.jandex.AnnotationTarget getTarget()
-
getAnnotations
Collection<org.jboss.jandex.AnnotationInstance> getAnnotations()
The initial set of annotations instances corresponds toClassInfo.classAnnotations(),FieldInfo.annotations()andMethodInfo.annotations()respectively.- Returns:
- the annotation instances
-
transform
Transformation transform()
The transformation is not applied until theAnnotationsTransformation.done()method is invoked.- Returns:
- a new transformation
-
isClass
default boolean isClass()
-
isField
default boolean isField()
-
isMethod
default boolean isMethod()
-
-