|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.codehaus.groovy.classgen.GeneratorContext
public class GeneratorContext extends java.lang.Object
A context shared across generations of a class and its inner classes
| Constructor Summary | |
GeneratorContext(CompileUnit compileUnit)
|
|
GeneratorContext(CompileUnit compileUnit, int innerClassOffset)
|
|
| Method Summary | |
|---|---|
CompileUnit
|
getCompileUnit()
|
java.lang.String
|
getNextClosureInnerName(ClassNode owner, ClassNode enclosingClass, MethodNode enclosingMethod)
|
int
|
getNextInnerClassIdx()
|
| Methods inherited from class java.lang.Object | |
|---|---|
| java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
| Constructor Detail |
|---|
public GeneratorContext(CompileUnit compileUnit)
public GeneratorContext(CompileUnit compileUnit, int innerClassOffset)
| Method Detail |
|---|
public CompileUnit getCompileUnit()
public java.lang.String getNextClosureInnerName(ClassNode owner, ClassNode enclosingClass, MethodNode enclosingMethod)
public int getNextInnerClassIdx()
Groovy Documentation