com.sun.tools.xjc.generator.util
Class ExistingBlockReference

java.lang.Object
  extended by com.sun.tools.xjc.generator.util.ExistingBlockReference
All Implemented Interfaces:
BlockReference

public class ExistingBlockReference
extends Object
implements BlockReference


Constructor Summary
ExistingBlockReference(com.sun.codemodel.JBlock _block)
           
 
Method Summary
 com.sun.codemodel.JBlock get(boolean create)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExistingBlockReference

public ExistingBlockReference(com.sun.codemodel.JBlock _block)
Method Detail

get

public com.sun.codemodel.JBlock get(boolean create)
Specified by:
get in interface BlockReference
Parameters:
create - If false, the method will return null if the block is not yet created.