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 MethodCallerMultiAdapter |
getField |
|
static MethodCallerMultiAdapter |
getGroovyObjectField |
|
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
Note: ignore it. Annotation generation needs the current visitor.
return a primitive boolean value of the BooleanExpression.
load class object on stack
Generate byte code for constants
Visits a bare (unqualified) variable expression.
Copyright © 2003-2015 The Apache Software Foundation. All rights reserved.