Interface AnnotationsTransformer.TransformationContext

Enclosing interface:
AnnotationsTransformer

public static interface AnnotationsTransformer.TransformationContext
A transformation context.
  • Method Summary

    Modifier and Type
    Method
    Description
    Collection<org.jboss.jandex.AnnotationInstance>
    The initial set of annotations instances corresponds to ClassInfo.declaredAnnotations(), FieldInfo.annotations() and MethodInfo.annotations() respectively.
    org.jboss.jandex.AnnotationTarget
     
    default boolean
     
    default boolean
     
    default boolean
     
    The transformation is not applied until the Transformation.done() method is invoked.
  • Method Details

    • getTarget

      org.jboss.jandex.AnnotationTarget getTarget()
    • getAnnotations

      Collection<org.jboss.jandex.AnnotationInstance> getAnnotations()
      The initial set of annotations instances corresponds to ClassInfo.declaredAnnotations(), FieldInfo.annotations() and MethodInfo.annotations() respectively.
      Returns:
      the annotation instances
    • transform

      Transformation transform()
      The transformation is not applied until the Transformation.done() method is invoked.
      Returns:
      a new transformation
    • isClass

      default boolean isClass()
    • isField

      default boolean isField()
    • isMethod

      default boolean isMethod()