# Package org.codehaus.groovy.control.customizers

## Package org.codehaus.groovy.control.customizers Description

Compiler customization framework. Allows modifying compilation behavior through customizers.

- Interface Summary
  Interface | Description
  --- | ---
  SecureASTCustomizer.ExpressionChecker | This interface allows the user to provide a custom expression checker if the dis/allowed expression lists are not sufficient
  SecureASTCustomizer.StatementChecker | This interface allows the user to provide a custom statement checker if the dis/allowed statement lists are not sufficient

- Class Summary
  Class | Description
  --- | ---
  ASTTransformationCustomizer | This customizer allows applying an AST transformation to a source unit with several strategies.
  CompilationCustomizer | 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
  DelegatingCustomizer | Base class for compilation customizers which delegate to another customizer.
  ImportCustomizer | This compilation customizer allows adding various types of imports to the compilation unit.
  SecureASTCustomizer | Restricts the grammar available to the source being compiled, so that a shell or domain specific language (DSL) offers only a chosen subset of the Groovy language.
  SecureASTCustomizer.SecuringCodeVisitor | This visitor directly implements the GroovyCodeVisitor interface instead of using the CodeVisitorSupport class to make sure that future features of the language gets managed by this visitor.
  SourceAwareCustomizer | A base class for customizers which only have to be applied on specific source units.