public abstract class CompilationCustomizer extends Object implements CompilationUnitIPrimaryClassNodeOperation
Users wanting to customize the configuration process such as adding imports, restricting the language features or apply AST transformations by default should implement this class, then call the CompilerConfiguration.addCompilationCustomizers method.
Constructor and description |
---|
CompilationCustomizer
(CompilePhase phase) |
Type Params | Return Type | Name and description |
---|---|---|
public CompilePhase |
getPhase() |
Methods inherited from class | Name |
---|---|
class Object | wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
© 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/customizers/CompilationCustomizer.html