Class CompilationCustomizer
java.lang.Object
org.codehaus.groovy.control.customizers.CompilationCustomizer
- All Implemented Interfaces:
- CompilationUnit.IPrimaryClassNodeOperation
- Direct Known Subclasses:
- DelegatingCustomizer,- ImportCustomizer,- SecureASTCustomizer
public abstract class CompilationCustomizer extends java.lang.Object implements CompilationUnit.IPrimaryClassNodeOperation
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(CompilationCustomizer...)
 method.- Since:
- 1.8.0
- 
Constructor SummaryConstructors Constructor Description CompilationCustomizer(CompilePhase phase)
- 
Method SummaryModifier and Type Method Description CompilePhasegetPhase()Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.codehaus.groovy.control.CompilationUnit.IPrimaryClassNodeOperationcall, doPhaseOperation, needSortedInput
- 
Constructor Details- 
CompilationCustomizer
 
- 
- 
Method Details- 
getPhase
 
-