@GroovyASTTransformation(phase = CompilePhase.CANONICALIZATION) public class CategoryASTTransformation extends Object implements ASTTransformation
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 expression) |
|
public void |
visit(ASTNode[] nodes, SourceUnit sourceUnit) |
|
public void |
visitBlockStatement(BlockStatement statement) |
|
public void |
visitCatchStatement(CatchStatement statement) |
|
public void |
visitClosureExpression(ClosureExpression expression) |
|
public void |
visitDeclarationExpression(DeclarationExpression expression) |
|
public void |
visitExpressionStatement(ExpressionStatement statement) |
|
public void |
visitForLoop(ForStatement statement) |
|
public void |
visitMethod(MethodNode node) |