Package org.codehaus.groovy.control
Class ASTTransformationsContext
java.lang.Object
org.codehaus.groovy.control.ASTTransformationsContext
public class ASTTransformationsContext
extends java.lang.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 java.util.Set<java.lang.String>
globalTransformNames
protected GroovyClassLoader
transformLoader
-
Constructor Summary
Constructors Constructor Description ASTTransformationsContext(CompilationUnit compilationUnit, GroovyClassLoader transformLoader)
-
Method Summary
Modifier and Type Method Description CompilationUnit
getCompilationUnit()
java.util.Set<java.lang.String>
getGlobalTransformNames()
GroovyClassLoader
getTransformLoader()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
transformLoader
-
compilationUnit
-
globalTransformNames
protected final java.util.Set<java.lang.String> globalTransformNames
-
-
Constructor Details
-
ASTTransformationsContext
public ASTTransformationsContext(CompilationUnit compilationUnit, GroovyClassLoader transformLoader)
-
-
Method Details
-
getCompilationUnit
-
getGlobalTransformNames
public java.util.Set<java.lang.String> getGlobalTransformNames() -
getTransformLoader
-