# Package org.codehaus.groovy.control

## Package org.codehaus.groovy.control Description

Compiler control classes.

- Interface Summary
  Interface | Description
  --- | ---
  BytecodeProcessor | Post-processes generated class bytes before they are written out.
  CompilationUnit.ClassgenCallback | A callback interface you can use during the `classgen` phase of compilation as the compiler traverses the ClassNode tree.
  CompilationUnit.IGroovyClassOperation | Performs an operation for each generated GroovyClass.
  CompilationUnit.IPrimaryClassNodeOperation | Performs an operation for each primary class node in the compilation.
  CompilationUnit.ISourceUnitOperation | Performs an operation for each source unit in the compilation.
  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 | Compatibility base type for deprecated Groovy-class operations.
  CompilationUnit.PrimaryClassNodeOperation | Compatibility base type for deprecated primary-class operations.
  CompilationUnit.SourceUnitOperation | Compatibility base type for deprecated source-unit operations.
  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 | Verifies that `instanceof` checks do not use unsupported target types.
  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
  ModuleImportHelper | Shared utilities for expanding JPMS module imports into package-level star imports.
  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.
  PlaceholderVisitor | Marks repeated underscore placeholders used in tuple and closure parameters.
  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 | Serializes AST structures to XML for debugging.

- 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