public class MacroTransformation
extends org.codehaus.groovy.ast.MethodCallTransformation
implements groovy.transform.CompilationUnitAware
| Modifier and Type | Field and Description |
|---|---|
protected org.codehaus.groovy.control.CompilationUnit |
unit |
| Constructor and Description |
|---|
MacroTransformation() |
| Modifier and Type | Method and Description |
|---|---|
protected org.codehaus.groovy.ast.GroovyCodeVisitor |
getTransformer(org.codehaus.groovy.ast.ASTNode[] nodes,
org.codehaus.groovy.control.SourceUnit sourceUnit) |
void |
setCompilationUnit(org.codehaus.groovy.control.CompilationUnit unit) |
public void setCompilationUnit(org.codehaus.groovy.control.CompilationUnit unit)
setCompilationUnit in interface groovy.transform.CompilationUnitAwareprotected org.codehaus.groovy.ast.GroovyCodeVisitor getTransformer(org.codehaus.groovy.ast.ASTNode[] nodes,
org.codehaus.groovy.control.SourceUnit sourceUnit)
getTransformer in class org.codehaus.groovy.ast.MethodCallTransformation