# Package org.codehaus.groovy.control

## Package org.codehaus.groovy.control Description

Compiler control classes.

- Interface Summary
  Interface | Description
  --- | ---
  BytecodeProcessor |
  CompilationUnit.ClassgenCallback | A callback interface you can use during the `classgen` phase of compilation as the compiler traverses the ClassNode tree.
  CompilationUnit.IGroovyClassOperation |
  CompilationUnit.IPrimaryClassNodeOperation |
  CompilationUnit.ISourceUnitOperation |
  CompilationUnit.ProgressCallback | A callback interface you can use to get a callback after every unit of the compile process.
  HasCleanup | An interface for things that need to be cleaned up after operations complete.
  ParserPlugin | A simple extension point to allow us to switch between the classic Groovy parser and the new Antlr based parser(s).

- Class Summary
  Class | Description
  --- | ---
  ASTTransformationsContext | Stores state information about global AST transformations applied to a compilation unit.
  AnnotationConstantsVisitor | Resolves constants in annotation definitions.
  ClassNodeResolver | This class is used as a pluggable way to resolve class names.
  ClassNodeResolver.LookupResult | Helper class to return either a SourceUnit or ClassNode.
  CompilationUnit | The CompilationUnit collects all compilation data as it is generated by the compiler system.
  CompilationUnit.GroovyClassOperation |
  CompilationUnit.PrimaryClassNodeOperation |
  CompilationUnit.SourceUnitOperation |
  CompilerConfiguration | Compilation control flags and coordination stuff.
  ErrorCollector | A base class for collecting messages and errors during processing.
  GenericsVisitor | Verify correct usage of generics.
  InstanceOfVerifier |
  Janitor | An agent that can be used to defer cleanup operations to a later time.
  LabelVerifier | This class checks the handling of labels in the AST
  OptimizerVisitor | Visitor to produce several optimizations: to replace numbered constants with references to static fields remove superfluous references to GroovyObject interface
  ParserPluginFactory | A factory of parser plugin instances.
  Phases | Compilation phase identifiers.
  ProcessingUnit | A base class for data structures that can collect messages and errors during processing.
  ResolveVisitor | Visitor to resolve types and convert VariableExpression to ClassExpressions if needed.
  SourceExtensionHandler | Looks for source file extensions in META-INF/services/org.codehaus.groovy.source.Extensions
  SourceUnit | Provides an anchor for a single source unit (usually a script file) as it passes through the compiler system.
  StaticImportVisitor | Visitor to resolve constants and method calls from static imports.
  StaticVerifier | Checks for dynamic variables in static contexts.
  XStreamUtils |

- Enum Summary
  Enum | Description
  --- | ---
  CompilePhase | The phases of the GroovyCompiler.

- Exception Summary
  Exception | Description
  --- | ---
  CompilationFailedException | Thrown when compilation fails from source errors.
  ConfigurationException | Thrown when configuration data is invalid.
  MultipleCompilationErrorsException | Represents multiple other exceptions