public class MacroTransformation extends MethodCallTransformation implements CompilationUnitAware
Modifier and Type | Field and Description |
---|---|
protected CompilationUnit |
unit |
Constructor and Description |
---|
MacroTransformation() |
Modifier and Type | Method and Description |
---|---|
protected GroovyCodeVisitor |
getTransformer(ASTNode[] nodes,
SourceUnit sourceUnit) |
void |
setCompilationUnit(CompilationUnit unit) |
visit
protected CompilationUnit unit
public void setCompilationUnit(CompilationUnit unit)
setCompilationUnit
in interface CompilationUnitAware
protected GroovyCodeVisitor getTransformer(ASTNode[] nodes, SourceUnit sourceUnit)
getTransformer
in class MethodCallTransformation