@GroovyASTTransformation(phase = CompilePhase.CANONICALIZATION) public class CategoryASTTransformation extends Object
Handles generation of code for the
Transformation logic is as follows:
Type Params | Return Type | Name and description |
---|---|---|
|
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' |
Property invocations done on 'this' reference are transformed so that the invocations at runtime are done on the additional parameter 'self'