Annotation Interface GroovyASTTransformationClass


@Retention(RUNTIME) @Target(ANNOTATION_TYPE) public @interface GroovyASTTransformationClass
This is an annotation on some item that indicates that an associated transform classes should be executed. As of Groovy 1.6 the only valid target is the annotation type. Each of the class names in the value must be annotated with GroovyASTTransformation. It is a compile time error to specify a GroovyASTTransformationClass that is not accessible at compile time. It need not be available at runtime.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Transform classes to run.
    Names of the transform classes to run.
  • Element Details

    • value

      String[] value
      Names of the transform classes to run. Each class must be annotated with GroovyASTTransformation.
      Returns:
      the transform class names; empty when classes() is used
      Default:
      {}
    • classes

      Class[] classes
      Transform classes to run. Each class must be annotated with GroovyASTTransformation.
      Returns:
      the transform classes; empty when value() is used
      Default:
      {}