- All Superinterfaces:
- BlockElementT, StatementT, Tree
- All Known Subinterfaces:
- CatchClauseT, ConditionalStatementT, DoStatementT, ElseClauseT, FinallyClauseT, ForStatementT, IfStatementT, SwitchStatementT, SynchStatementT, TryStatementT, WhileStatementT
- public interface CompoundStatementT
- extends StatementT
Common supertype for statements that have children statements.
| 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 |
getControlExpression
public ExpressionT getControlExpression()
- In a for statement, null is returned.
getPrimaryClause
public StatementT getPrimaryClause()
getEndClause
public StatementT getEndClause()
- In an if statement, this is the "else" clause.
In a try statement, this is the "finally" clause.