public class AsmClassGenerator extends ClassGenerator
Generates Java class versions of Groovy classes using ASM.
Modifiers | Name | Description |
---|---|---|
static boolean |
ASM_DEBUG |
|
static boolean |
CREATE_DEBUG_INFO |
|
static boolean |
CREATE_LINE_NUMBER_INFO |
|
static String |
MINIMUM_BYTECODE_VERSION |
|
static MethodCallerMultiAdapter |
getField |
|
static MethodCallerMultiAdapter |
getGroovyObjectField |
|
static MethodCallerMultiAdapter |
setField |
|
static MethodCallerMultiAdapter |
setGroovyObjectField |
|
static MethodCallerMultiAdapter |
setProperty |
Fields inherited from class | Fields |
---|---|
class ClassGenerator |
innerClasses |
Constructor and description |
---|
AsmClassGenerator
(SourceUnit source, GeneratorContext context, org.objectweb.asm.ClassVisitor classVisitor, String sourceFile) |
RHS instance field. should move most of the code in the BytecodeHelper
Loads either this object or if we're inside a closure then load the top level owner
Generates byte code for constants.
Copyright © 2003-2020 The Apache Software Foundation. All rights reserved.