Top Description Methods
com.sun.tools.xjc.generator.util

public Interface BlockReference

Known Direct Implementers
com.sun.tools.xjc.generator.util.ExistingBlockReference, com.sun.tools.xjc.generator.util.LazyBlockReference
Imports
com.sun.codemodel.JBlock

Holds a reference to a JBlock object.

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

Author
Kohsuke Kawaguchi ([email protected])

Method Summary

Modifier and TypeMethod and Description
public JBlock
get(boolean
If false, the method will return null if the block is not yet created.
create
)

Method Detail

getback to summary
public JBlock get(boolean create)
Parameters
create:boolean

If false, the method will return null if the block is not yet created.