Groovy 2.2.0

org.codehaus.groovy.transform
[Java] Annotation Type GroovyASTTransformationClass

java.lang.Object
  org.codehaus.groovy.transform.GroovyASTTransformationClass

@Retention(RetentionPolicy.RUNTIME)
// in the future the target will be wider than annotations, but for now it is just on annotations
@Target(ElementType.ANNOTATION_TYPE)
@Targetpublic @interface GroovyASTTransformationClass {
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.

Authors:
Danno Ferrin (shemnon)
Roshan Dawrani (roshandawrani)


 
Optional Element Summary
java.lang.Class classes

@default }

java.lang.String value

@default {}

 
Method Summary
 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Element Detail

classes

public Class[] classes
Default:
}


value

public String[] value
@default {}


 

Copyright © 2003-2013 The Codehaus. All rights reserved.