[Java] Class MacroTransformation
- org.codehaus.groovy.macro.transform.MacroTransformation
- All Implemented Interfaces and Traits:
- CompilationUnitAware
@GroovyASTTransformation(phase = CompilePhase.CONVERSION) public class MacroTransformation extends MethodCallTransformation implements CompilationUnitAware
- Since:
- 2.5.0
Field Summary
Modifiers | Name | Description |
---|---|---|
protected CompilationUnit | unit |
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
protected GroovyCodeVisitor |
getTransformer(ASTNode[] nodes, SourceUnit sourceUnit) | |
public void |
setCompilationUnit(CompilationUnit unit) |
Inherited Methods Summary
Methods inherited from class | Name |
---|---|
class MethodCallTransformation | getTransformer, visit |
Field Detail
protected CompilationUnit unit
Method Detail
@Override protected GroovyCodeVisitor getTransformer(ASTNode[] nodes, SourceUnit sourceUnit)
@Override public void setCompilationUnit(CompilationUnit unit)
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/3.0.7/html/gapi/org/codehaus/groovy/macro/transform/MacroTransformation.html