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

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

public abstract class LazyBlockReference
extends java.lang.Object
implements BlockReference

Lazy block reference.


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

Constructor Detail

LazyBlockReference

public LazyBlockReference()
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.