@GroovyASTTransformation(phase = CompilePhase.CANONICALIZATION) public class ImmutableASTTransformation extends AbstractASTTransformation
Handles generation of code for the
| Fields inherited from class | Fields | 
|---|---|
| class AbstractASTTransformation | RETENTION_CLASSNODE, sourceUnit | 
| Type Params | Return Type | Name and description | 
|---|---|---|
|  | static Object | checkImmutable(String className, String fieldName, Object field)This method exists to be binary compatible with 1.7 - 1.8.6 compiled code. | 
|  | static Object | checkImmutable(Class<?> clazz, String fieldName, Object field)For compatibility with pre 2.5 compiled classes | 
|  | static Object | checkImmutable(Class<?> clazz, String fieldName, Object field, List<String> knownImmutableFieldNames, List<Class> knownImmutableClasses) | 
|  | static void | checkPropNames(Object instance, Map<String, Object> args) | 
|  | String | getAnnotationName() | 
|  | void | setCompilationUnit(CompilationUnit unit) | 
|  | void | visit(ASTNode[] nodes, SourceUnit source) | 
This method exists to be binary compatible with 1.7 - 1.8.6 compiled code.
For compatibility with pre 2.5 compiled classes