# Package org.codehaus.groovy.control.customizers

package org.codehaus.groovy.control.customizers

- Related Packages
  Package
  Description
  org.codehaus.groovy.control
  Compiler control classes.
  org.codehaus.groovy.control.customizers.builder
  org.codehaus.groovy.control.io
  Internal classes for Groovier Input/Output.
  org.codehaus.groovy.control.messages
  Error message classes.
- Class
  Description
  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(CompilationCustomizer...)` method.
  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.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
  SourceAwareCustomizer
  A base class for customizers which only have to be applied on specific source units.