Class CompilationCustomizer
- java.lang.Object
- 
- org.codehaus.groovy.control.CompilationUnit.PrimaryClassNodeOperation
- 
- org.codehaus.groovy.control.customizers.CompilationCustomizer
 
 
- 
- Direct Known Subclasses:
- DelegatingCustomizer,- ImportCustomizer,- SecureASTCustomizer
 
 public abstract class CompilationCustomizer extends CompilationUnit.PrimaryClassNodeOperation 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 theCompilerConfiguration.addCompilationCustomizers(CompilationCustomizer...)method.- Since:
- 1.8.0
 
- 
- 
Constructor SummaryConstructors Constructor Description CompilationCustomizer(CompilePhase phase)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description CompilePhasegetPhase()- 
Methods inherited from class org.codehaus.groovy.control.CompilationUnit.PrimaryClassNodeOperationcall, needSortedInput
 
- 
 
- 
- 
- 
Constructor Detail- 
CompilationCustomizerpublic CompilationCustomizer(CompilePhase phase) 
 
- 
 - 
Method Detail- 
getPhasepublic CompilePhase getPhase() 
 
- 
 
-