@GroovyASTTransformation(phase = CompilePhase.CANONICALIZATION) public class CategoryASTTransformation extends Object implements ASTTransformation, org.objectweb.asm.Opcodes
Handles generation of code for the
Transformation logic is as follows:
| Type Params | Return Type | Name and description | 
|---|---|---|
|  | protected SourceUnit | getSourceUnit() | 
|  | public Expression | transform(Expression exp) | 
|  | public void | visit(ASTNode[] nodes, SourceUnit source)Property invocations done on 'this' reference are transformed so that the invocations at runtime are done on the additional parameter 'self' | 
|  | public void | visitBlockStatement(BlockStatement block) | 
|  | public void | visitCatchStatement(CatchStatement statement) | 
|  | public void | visitClosureExpression(ClosureExpression ce) | 
|  | public void | visitDeclarationExpression(DeclarationExpression expression) | 
|  | public void | visitExpressionStatement(ExpressionStatement es) | 
|  | public void | visitForLoop(ForStatement forLoop) | 
|  | public void | visitMethod(MethodNode node) | 
Property invocations done on 'this' reference are transformed so that the invocations at runtime are done on the additional parameter 'self'