public class GeneratorContext
extends java.lang.Object
Constructor and Description |
---|
GeneratorContext(CompileUnit compileUnit) |
GeneratorContext(CompileUnit compileUnit,
int innerClassOffset) |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
encodeAsValidClassName(java.lang.String name) |
CompileUnit |
getCompileUnit() |
java.lang.String |
getNextClosureInnerName(ClassNode owner,
ClassNode enclosingClass,
MethodNode enclosingMethod) |
int |
getNextInnerClassIdx() |
public GeneratorContext(CompileUnit compileUnit)
public GeneratorContext(CompileUnit compileUnit, int innerClassOffset)
public int getNextInnerClassIdx()
public CompileUnit getCompileUnit()
public java.lang.String getNextClosureInnerName(ClassNode owner, ClassNode enclosingClass, MethodNode enclosingMethod)
public static java.lang.String encodeAsValidClassName(java.lang.String name)