Groovy 2.2.0

Package org.codehaus.groovy.classgen

 

Interface Summary
ReturnAdder.ReturnStatementListener Implement this method in order to be notified whenever a return statement is generated.
Verifier.DefaultArgsAction Creates a new helper method for each combination of default parameter expressions
 


Class Summary
AnnotationVisitor An Annotation visitor responsible with: - reading annotation metadata (@Retention, @Target, attribute types) - verify that an AnnotationNode conforms to annotation meta - enhancing an AnnotationNode AST to reflect real annotation meta
AsmClassGenerator Generates Java class versions of Groovy classes using ASM.
BytecodeExpression Represents some custom bytecode generation by the compiler
BytecodeInstruction Helper class used by the class generator.
BytecodeSequence This class represents a sequence of BytecodeInstructions or ASTNodes.
ClassCompletionVerifier *************************************************************************** Copyright (c) 2004 IBM Corporation and others.
ClassGenerator Abstract base class for generator of Java class versions of Groovy AST classes
DummyClassGenerator To generate a class that has all the fields and methods, except that fields are not initialized and methods are empty.
EnumCompletionVisitor Enums have a parent constructor with two arguments from java.lang.Enum.
EnumVisitor
ExtendedVerifier A specialized Groovy AST visitor meant to perform additional verifications upon the current AST.
GeneratorContext A context shared across generations of a class and its inner classes
InnerClassCompletionVisitor
InnerClassVisitor
InnerClassVisitorHelper
ReturnAdder Utility class to add return statements.
VariableScopeVisitor goes through an AST and initializes the scopes
Verifier Verifies the AST node and adds any defaulted AST code before bytecode generation occurs.
VerifierCodeVisitor Performs various checks on code inside methods and constructors including checking for valid field, variables names etc. that would otherwise lead to invalid code.
 


Exception Summary
ClassGeneratorException An exception thrown by the class generator
 


Script Summary
genArrayAccess
genArrays
genDgmMath
genMathModification
 


Copyright © 2003-2013 The Codehaus. All rights reserved.