Source code: javax/ide/model/java/source/tree/BlockStatementT.java
1 /*
2 * @(#)BlockStatementT.java
3 */
4
5 package javax.ide.model.java.source.tree;
6
7 /**
8 * A statement wrapping a block. <p/>
9 *
10 * @author Andy Yu
11 * */
12 public interface BlockStatementT
13 extends StatementT
14 {
15 // ----------------------------------------------------------------------
16
17 /**
18 * Gets the declared code block, null if none.
19 *
20 * @return The code block associated with this element. Null if none.
21 */
22 public BlockT getBlock();
23
24
25 /**
26 * Attempts to set the code block associated with this element.
27 */
28 public void setBlock( BlockT block );
29
30 }