public class GeneratorContext extends Object
Constructor and Description |
---|
GeneratorContext(CompileUnit compileUnit) |
GeneratorContext(CompileUnit compileUnit,
int innerClassOffset) |
Modifier and Type | Method and Description |
---|---|
static String |
encodeAsValidClassName(String name) |
CompileUnit |
getCompileUnit() |
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 String getNextClosureInnerName(ClassNode owner, ClassNode enclosingClass, MethodNode enclosingMethod)