- All Superinterfaces:
- BlockElementT, StatementT, Tree
- public interface BlockStatementT
- extends StatementT
A statement wrapping a block.
|
Method Summary |
BlockT |
getBlock()
Gets the declared code block, null if none. |
void |
setBlock(BlockT block)
Attempts to set the code block associated with this element. |
| Methods inherited from interface javax.ide.model.java.source.tree.Tree |
accept, accept, addSelf, addSelf, addSelfAfter, addSelfBefore, clearProperty, cloneSelf, getChildren, getOwningFile, getParent, getPosition, getProperty, getSiblingAfter, getSiblingBefore, getSiblings, getTreeKind, isSynthetic, removeSelf, replaceSelf, setProperty |
getBlock
public BlockT getBlock()
- Gets the declared code block, null if none.
setBlock
public void setBlock(BlockT block)
- Attempts to set the code block associated with this element.