Package org.codehaus.groovy.classgen
package org.codehaus.groovy.classgen
-
ClassDescriptionAn Annotation visitor responsible for: reading annotation metadata (@Retention, @Target, attribute types) verify that an
AnnotationNode
conforms to annotation meta enhancing anAnnotationNode
AST to reflect real annotation metaGenerates Java class versions of Groovy classes using ASM.Represents some custom bytecode generation by the compilerHelper class used by the class generator.This class represents a sequence of BytecodeInstructions or ASTNodes.Checks that a class satisfies various conditions including: Incorrect class or method access modifiers No abstract methods appear in a non-abstract class Existence and correct visibility for inherited members Invalid attempts to override final membersAbstract base class for generator of Java class versions of Groovy AST classesAn exception thrown by the class generatorTo generate a class that has all the fields and methods, except that fields are not initialized and methods are empty.Enums have a parent constructor with two arguments from java.lang.Enum.A specialized Groovy AST visitor meant to perform additional verifications upon the current AST.A context shared across generations of a class and its inner classesUtility class to add return statements.Implement this method in order to be notified whenever a return statement is generated.goes through an AST and initializes the scopesVerifies the AST node and adds any default AST code before bytecode generation occurs.Performs various checks on code inside methods and constructors including checking for valid field, variables names etc.