public abstract class MethodCallTransformation
extends Object
implements ASTTransformation
Walks a source unit with the visitor from getTransformer. Annotation and class nodes in the transform input are skipped. The walk then covers the module AST, its statement block, each class's method and constructor bodies, field initializers, and object initializers, and each script method's parameter initializers and body. A MissingPropertyException from an inner class that has no constructor or object-initializer list is ignored.
| Type Params | Return Type | Name and description |
|---|---|---|
|
protected abstract GroovyCodeVisitor |
getTransformer(ASTNode[] nodes, SourceUnit sourceUnit)Supplies the visitor visit runs over the source unit. |
|
public void |
visit(ASTNode[] nodes, SourceUnit sourceUnit) |
Supplies the visitor visit runs over the source unit.
nodes - the nodes passed to visitsourceUnit - the source unit being compiled