# Package org.codehaus.groovy.control

package org.codehaus.groovy.control

Compiler control classes.

- Related Packages
  Package
  Description
  org.codehaus.groovy
  Groovy Language for the JVM
  org.codehaus.groovy.control.customizers
  Compiler customization framework.
  org.codehaus.groovy.control.io
  Internal classes for Groovier Input/Output.
  org.codehaus.groovy.control.messages
  Error message classes.
- Class
  Description
  AnnotationConstantsVisitor
  Resolves constants in annotation definitions.
  ASTTransformationsContext
  Stores state information about global AST transformations applied to a compilation unit.
  BytecodeProcessor
  Post-processes generated class bytes before they are written out.
  ClassNodeResolver
  This class is used as a pluggable way to resolve class names.
  ClassNodeResolver.LookupResult
  Helper class to return either a SourceUnit or ClassNode.
  CompilationFailedException
  Thrown when compilation fails from source errors.
  CompilationUnit
  The CompilationUnit collects all compilation data as it is generated by the compiler system.
  CompilationUnit.ClassgenCallback
  A callback interface you can use during the `classgen` phase of compilation as the compiler traverses the ClassNode tree.
  CompilationUnit.GroovyClassOperation
  Deprecated.
  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.PrimaryClassNodeOperation
  Deprecated.
  CompilationUnit.ProgressCallback
  A callback interface you can use to get a callback after every unit of the compile process.
  CompilationUnit.SourceUnitOperation
  Deprecated.
  CompilePhase
  The phases of the GroovyCompiler.
  CompilerConfiguration
  Compilation control flags and coordination stuff.
  ConfigurationException
  Thrown when configuration data is invalid.
  ErrorCollector
  A base class for collecting messages and errors during processing.
  GenericsVisitor
  Verify correct usage of generics.
  HasCleanup
  An interface for things that need to be cleaned up after operations complete.
  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.
  MultipleCompilationErrorsException
  Represents multiple other exceptions
  OptimizerVisitor
  Visitor to produce several optimizations: to replace numbered constants with references to static fields remove superfluous references to GroovyObject interface
  ParserPlugin
  A simple extension point to allow us to switch between the classic Groovy parser and the new Antlr based parser(s).
  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.