Class MacroTransformation
java.lang.Object
org.codehaus.groovy.ast.MethodCallTransformation
org.codehaus.groovy.macro.transform.MacroTransformation
- All Implemented Interfaces:
- CompilationUnitAware,- ASTTransformation
public class MacroTransformation extends MethodCallTransformation implements CompilationUnitAware
- Since:
- 2.5.0
- 
Field SummaryFields Modifier and Type Field Description protected CompilationUnitunit
- 
Constructor SummaryConstructors Constructor Description MacroTransformation()
- 
Method SummaryModifier and Type Method Description protected GroovyCodeVisitorgetTransformer(ASTNode[] nodes, SourceUnit sourceUnit)voidsetCompilationUnit(CompilationUnit unit)Methods inherited from class org.codehaus.groovy.ast.MethodCallTransformationvisitMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
- 
Field Details- 
unit
 
- 
- 
Constructor Details- 
MacroTransformationpublic MacroTransformation()
 
- 
- 
Method Details- 
setCompilationUnit- Specified by:
- setCompilationUnitin interface- CompilationUnitAware
 
- 
getTransformer- Specified by:
- getTransformerin class- MethodCallTransformation
 
 
-