Generates Java classes for Groovy classes using ASM.
| Modifier and Type | Class and Description |
|---|---|
| public class | AnnotationVisitor
An Annotation visitor responsible for:
|
| public class | AsmClassGenerator
Generates Java class versions of Groovy classes using ASM. |
| public abstract class | BytecodeExpression
Represents some custom bytecode generation by the compiler. |
| public abstract class | BytecodeInstruction
Helper class used by the class generator. |
| public class | BytecodeSequence
This class represents a sequence of |
| public class | ClassCompletionVerifier
Checks that a class satisfies various conditions including:
|
| public abstract class | ClassGenerator
Abstract base class for generator of Java class versions of Groovy AST classes |
| public class | ClassGeneratorException
An exception thrown by the class generator |
| public class | DummyClassGenerator
To generate a class that has all the fields and methods, except that fields are not initialized and methods are empty. |
| public class | EnumCompletionVisitor
Enums have a parent constructor with two arguments from java.lang.Enum. |
| public class | |
| public class | ExtendedVerifier
A specialized Groovy AST visitor meant to perform additional verifications upon the current AST. |
| public class | |
| public class | GeneratorContext
A context shared across generations of a class and its inner classes |
| public class | |
| public class | |
| public abstract class | |
| public class | ReturnAdder
Utility class to add return statements. |
| public class | VariableScopeVisitor
Initializes the variable scopes for an AST. |
| public class | Verifier
Verifies the AST node and adds any default AST code before bytecode generation occurs. |
| public class | 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. |