|
Groovy 1.7.0 | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.groovy.ast.CodeVisitorSupport
org.codehaus.groovy.ast.ClassCodeVisitorSupport
org.codehaus.groovy.classgen.ClassGenerator
org.codehaus.groovy.classgen.AsmClassGenerator
class AsmClassGenerator extends ClassGenerator
Generates Java class versions of Groovy classes using ASM.
Nested Class Summary | |
---|---|
class |
AsmClassGenerator.AssertionTracker
|
Fields inherited from class ClassGenerator | |
---|---|
classLoader, innerClasses |
Constructor Summary | |
AsmClassGenerator()
|
Method Summary | |
---|---|
def
|
AsmClassGenerator(SourceUnit source, GeneratorContext context, org.objectweb.asm.ClassVisitor classVisitor, ClassLoader classLoader, String sourceFile)
|
protected SourceUnit
|
getSourceUnit()
|
void
|
visitClass(ClassNode classNode)
|
void
|
visitGenericType(GenericsType genericsType)
|
Methods inherited from class ClassGenerator | |
---|---|
getClassLoader, getInnerClasses, getSourceUnit, visitBytecodeSequence |
Methods inherited from class Object | |
---|---|
wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll |
Field Detail |
---|
static final boolean ASM_DEBUG
static final boolean CREATE_DEBUG_INFO
static final boolean CREATE_LINE_NUMBER_INFO
static final MethodCaller asTypeMethod
static final MethodCaller assertFailedMethod
static final MethodCaller bitwiseNegate
static final MethodCaller castToTypeMethod
static final MethodCaller compareEqualMethod
static final MethodCaller compareGreaterThanEqualMethod
static final MethodCaller compareGreaterThanMethod
static final MethodCaller compareIdenticalMethod
static final MethodCaller compareLessThanEqualMethod
static final MethodCaller compareLessThanMethod
static final MethodCaller compareNotEqualMethod
static final MethodCaller compareToMethod
static final MethodCaller createGroovyObjectWrapperMethod
static final MethodCaller createListMethod
static final MethodCaller createMapMethod
static final MethodCaller createPojoWrapperMethod
static final MethodCaller createRangeMethod
static final MethodCaller createTupleMethod
static final MethodCaller despreadList
static final MethodCaller findRegexMethod
static final MethodCallerMultiAdapter getField
static final MethodCallerMultiAdapter getFieldOnSuper
static final MethodCallerMultiAdapter getGroovyObjectField
static final MethodCallerMultiAdapter getGroovyObjectProperty
static final MethodCaller getMethodPointer
static final MethodCallerMultiAdapter getProperty
static final MethodCallerMultiAdapter getPropertyOnSuper
static final MethodCaller invokeClosureMethod
static final MethodCallerMultiAdapter invokeMethod
static final MethodCallerMultiAdapter invokeMethodOnCurrent
static final MethodCallerMultiAdapter invokeMethodOnSuper
static final MethodCallerMultiAdapter invokeNew
static final MethodCallerMultiAdapter invokeStaticMethod
static final MethodCaller isCaseMethod
static final MethodCaller iteratorHasNextMethod
static final MethodCaller iteratorNextMethod
static final MethodCaller matchRegexMethod
static final MethodCaller regexPattern
static final MethodCaller selectConstructorAndTransformArguments
static final MethodCallerMultiAdapter setField
static final MethodCallerMultiAdapter setFieldOnSuper
static final MethodCallerMultiAdapter setGroovyObjectField
static final MethodCallerMultiAdapter setGroovyObjectProperty
static final MethodCallerMultiAdapter setProperty
static final MethodCallerMultiAdapter setPropertyOnSuper
static final MethodCaller spreadMap
static final MethodCaller unaryMinus
static final MethodCaller unaryPlus
Constructor Detail |
---|
AsmClassGenerator()
Method Detail |
---|
public def AsmClassGenerator(SourceUnit source, GeneratorContext context, org.objectweb.asm.ClassVisitor classVisitor, ClassLoader classLoader, String sourceFile)
protected SourceUnit getSourceUnit()
public void visitClass(ClassNode classNode)
public void visitGenericType(GenericsType genericsType)
Copyright © 2003-2009 The Codehaus. All rights reserved.