|
|||||
FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Generates Java class versions of Groovy classes using ASM.
Constructor Summary | |
AsmClassGenerator(GeneratorContext context, ClassVisitor classVisitor, ClassLoader classLoader, String sourceFile)
maps the variable names to the JVM indices |
Method Summary | |
---|---|
def |
buildExceptions(def exceptions)
|
void |
createMopMethods()
|
SourceUnit |
getSourceUnit()
|
void |
visitClass(ClassNode classNode)
|
void |
visitGenericType(GenericsType genericsType)
|
void |
visitMopMethodList(List methods, boolean isThis)
filters a list of method for MOP methods. |
Constructor Detail |
---|
public AsmClassGenerator(GeneratorContext context, ClassVisitor classVisitor, ClassLoader classLoader, String sourceFile)
Method Detail |
---|
def buildExceptions(def exceptions)
void createMopMethods()
SourceUnit getSourceUnit()
public void visitClass(ClassNode classNode)
public void visitGenericType(GenericsType genericsType)
void visitMopMethodList(List methods, boolean isThis)