# Package org.codehaus.groovy.control.customizers

package org.codehaus.groovy.control.customizers
Compiler customization framework. Allows modifying compilation behavior through customizers.

- Related Packages
  Package
  Description
  org.codehaus.groovy.control
  Compiler control classes.
  org.codehaus.groovy.control.customizers.builder
  Builder DSL for compiler customizers.
  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
  This customizer allows securing source code by controlling what code constructs are permitted.
  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.