org.codehaus.groovy.classgen
Class GeneratorContext

java.lang.Object
  extended byorg.codehaus.groovy.classgen.GeneratorContext

public class GeneratorContext
extends Object

A context shared across generations of a class and its inner classes

Version:
$Revision: 1.3 $
Author:
James Strachan

Constructor Summary
GeneratorContext(CompileUnit compileUnit)
           
 
Method Summary
 CompileUnit getCompileUnit()
           
 String getNextClosureInnerName(ClassNode owner, ClassNode classNode, MethodNode methodNode)
           
 int getNextInnerClassIdx()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeneratorContext

public GeneratorContext(CompileUnit compileUnit)
Method Detail

getCompileUnit

public CompileUnit getCompileUnit()

getNextInnerClassIdx

public int getNextInnerClassIdx()

getNextClosureInnerName

public String getNextClosureInnerName(ClassNode owner,
                                      ClassNode classNode,
                                      MethodNode methodNode)


Copyright © 2003-2004 The Codehaus. All Rights Reserved.