com.sun.tools.xjc.generator.util
Interface BlockReference

All Known Implementing Classes:
ExistingBlockReference, LazyBlockReference

public interface BlockReference

Holds a reference to a JBlock object.

This interface is usually used when one wants to create a new JBlock object lazily.


Method Summary
 com.sun.codemodel.JBlock get(boolean create)
           
 

Method Detail

get

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