A context shared across generations of a class and its inner classes
Constructor and description |
---|
GeneratorContext
(CompileUnit compileUnit) |
GeneratorContext
(CompileUnit compileUnit, int innerClassOffset) |
Type Params | Return Type | Name and description |
---|---|---|
|
static String |
encodeAsValidClassName(String name) |
|
CompileUnit |
getCompileUnit() |
|
String |
getNextClosureInnerName(org.codehaus.groovy.ast.ClassNode owner, org.codehaus.groovy.ast.ClassNode enclosingClass, org.codehaus.groovy.ast.MethodNode enclosingMethod) |
|
String |
getNextConstructorReferenceSyntheticMethodName(org.codehaus.groovy.ast.MethodNode enclosingMethodNode) |
|
int |
getNextInnerClassIdx() |
|
String |
getNextLambdaInnerName(org.codehaus.groovy.ast.ClassNode owner, org.codehaus.groovy.ast.ClassNode enclosingClass, org.codehaus.groovy.ast.MethodNode enclosingMethod) |
Copyright © 2003-2019 The Apache Software Foundation. All rights reserved.