[Java] Class ASTTransformationsContext
- org.codehaus.groovy.control.ASTTransformationsContext
public class ASTTransformationsContext extends Object
Stores state information about global AST transformations applied to a compilation unit.
Field Summary
Modifiers | Name | Description |
---|---|---|
protected CompilationUnit | compilationUnit | |
protected Set<String> | globalTransformNames | |
protected GroovyClassLoader | transformLoader |
Constructor Summary
Constructor and description |
---|
ASTTransformationsContext
(CompilationUnit compilationUnit, GroovyClassLoader transformLoader) |
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
public CompilationUnit |
getCompilationUnit() | |
public Set<String> |
getGlobalTransformNames() | |
public GroovyClassLoader |
getTransformLoader() |
Inherited Methods Summary
Methods inherited from class | Name |
---|---|
class Object | wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Field Detail
protected final CompilationUnit compilationUnit
protected final Set<String> globalTransformNames
protected final GroovyClassLoader transformLoader
Constructor Detail
public ASTTransformationsContext(CompilationUnit compilationUnit, GroovyClassLoader transformLoader)
Method Detail
public CompilationUnit getCompilationUnit()
public Set<String> getGlobalTransformNames()
public GroovyClassLoader getTransformLoader()
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/3.0.7/html/gapi/org/codehaus/groovy/control/ASTTransformationsContext.html