com.sun.tools.xjc.generator.util
Class ExistingBlockReference
java.lang.Object
com.sun.tools.xjc.generator.util.ExistingBlockReference
- All Implemented Interfaces:
- BlockReference
public class ExistingBlockReference
- extends Object
- implements BlockReference
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 |
ExistingBlockReference
public ExistingBlockReference(com.sun.codemodel.JBlock _block)
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.