Package org.codehaus.groovy.control
Compiler control classes.
-
Interface Summary Interface Description BytecodeProcessor 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 -
Class Summary Class Description AnnotationConstantsVisitor Visitor to resolve constants in annotation definitions.ASTTransformationsContext Stores state information about global AST transformations applied to a compilation unit.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.ClassgenCallback A callback interface you can use to "accompany" the classgen() code as it traverses the ClassNode tree.CompilationUnit.GroovyClassOperation CompilationUnit.PrimaryClassNodeOperation An callback interface for use in the applyToPrimaryClassNodes loop driver.CompilationUnit.ProgressCallback A callback interface you can use to get a callback after every unit of the compile process.CompilationUnit.SourceUnitOperation An callback interface for use in the applyToSourceUnits loop driver.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 ASTOptimizerVisitor Visitor to produce several optimizations: to replace numbered constants with references to static fields remove superfluous references to GroovyObject interfaceParserPluginFactory A factory of parser plugin instancesPhases 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.ExtensionsSourceUnit 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 ImportsStaticVerifier Verifier to check non-static access in static contextsXStreamUtils -
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