public class GeneratorContext extends Object
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 |
---|---|---|
public static String |
encodeAsValidClassName(String name) | |
public CompileUnit |
getCompileUnit() | |
public String |
getNextClosureInnerName(ClassNode owner, ClassNode enclosingClass, MethodNode enclosingMethod) | |
public String |
getNextConstructorReferenceSyntheticMethodName(MethodNode enclosingMethodNode) | |
public int |
getNextInnerClassIdx() | |
public String |
getNextLambdaInnerName(ClassNode owner, ClassNode enclosingClass, MethodNode enclosingMethod) |
Methods inherited from class | Name |
---|---|
class Object | wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/3.0.7/html/gapi/org/codehaus/groovy/classgen/GeneratorContext.html