Compiler control classes.
Interface Summary Interface Description BytecodeProcessor HasCleanupAn interface for things that need to be cleaned up after operations complete. ParserPluginA simple extension point to allow us to switch between the classic Groovy parser and the new Antlr based parser
Class Summary Class Description AnnotationConstantsVisitorVisitor to resolve constants in annotation definitions. ASTTransformationsContextStores state information about global AST transformations applied to a compilation unit. ClassNodeResolverThis class is used as a pluggable way to resolve class names. ClassNodeResolver.LookupResultHelper class to return either a SourceUnit or ClassNode. CompilationUnitThe CompilationUnit collects all compilation data as it is generated by the compiler system. CompilationUnit.ClassgenCallbackA callback interface you can use to "accompany" the classgen() code as it traverses the ClassNode tree. CompilationUnit.GroovyClassOperation CompilationUnit.PrimaryClassNodeOperationAn callback interface for use in the applyToPrimaryClassNodes loop driver. CompilationUnit.ProgressCallbackA callback interface you can use to get a callback after every unit of the compile process. CompilationUnit.SourceUnitOperationAn callback interface for use in the applyToSourceUnits loop driver. CompilerConfigurationCompilation control flags and coordination stuff. ErrorCollectorA base class for collecting messages and errors during processing. GenericsVisitorVerify correct usage of generics. InstanceOfVerifier JanitorAn agent that can be used to defer cleanup operations to a later time. LabelVerifierThis class checks the handling of labels in the AST OptimizerVisitorVisitor to produce several optimizations: to replace numbered constants with references to static fields remove superfluous references to GroovyObject interface ParserPluginFactoryA factory of parser plugin instances PhasesCompilation phase identifiers. ProcessingUnitA base class for data structures that can collect messages and errors during processing. ResolveVisitorVisitor to resolve Types and convert VariableExpression to ClassExpressions if needed. SourceExtensionHandlerLooks for source file extensions in META-INF/services/org.codehaus.groovy.source.Extensions SourceUnitProvides an anchor for a single source unit (usually a script file) as it passes through the compiler system. StaticImportVisitorVisitor to resolve constants and method calls from static imports. StaticVerifierChecks for dynamic variables in static contexts. XStreamUtils
Enum Summary Enum Description CompilePhaseThe phases of the GroovyCompiler.
Exception Summary Exception Description CompilationFailedExceptionThrown when compilation fails from source errors. ConfigurationExceptionThrown when configuration data is invalid. MultipleCompilationErrorsExceptionRepresents multiple other exceptions