Package org.codehaus.groovy.control
Class ASTTransformationsContext
- java.lang.Object
-
- org.codehaus.groovy.control.ASTTransformationsContext
-
public class ASTTransformationsContext extends Object
Stores state information about global AST transformations applied to a compilation unit.
-
-
Field Summary
Fields Modifier and Type Field Description protected CompilationUnit
compilationUnit
protected Set<String>
globalTransformNames
protected GroovyClassLoader
transformLoader
-
Constructor Summary
Constructors Constructor Description ASTTransformationsContext(CompilationUnit compilationUnit, GroovyClassLoader transformLoader)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CompilationUnit
getCompilationUnit()
Set<String>
getGlobalTransformNames()
GroovyClassLoader
getTransformLoader()
-
-
-
Field Detail
-
transformLoader
protected final GroovyClassLoader transformLoader
-
compilationUnit
protected final CompilationUnit compilationUnit
-
-
Constructor Detail
-
ASTTransformationsContext
public ASTTransformationsContext(CompilationUnit compilationUnit, GroovyClassLoader transformLoader)
-
-
Method Detail
-
getCompilationUnit
public CompilationUnit getCompilationUnit()
-
getTransformLoader
public GroovyClassLoader getTransformLoader()
-
-