Skip navigation links 
 
javax.ide.model.java.source.tree
Interface CompoundStatementT
- 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, addSelf, addSelf, addSelfAfter, addSelfBefore, clearProperty, cloneSelf, getChildren, getOwningFile, getParent, getPosition, getProperty, getSiblingAfter, getSiblingBefore, getSiblings, getTreeKind, isSynthetic, removeSelf, replaceSelf, setProperty | 
 
 
getControlExpression
ExpressionT getControlExpression()
- In a for statement, null is returned.
- 
- Returns:
- The nested (i.e. parenthesized) expression for this compound statement.
 
getPrimaryClause
StatementT getPrimaryClause()
- 
- Returns:
- The primary clause.
 
getEndClause
StatementT getEndClause()
- In an if statement, this is the "else" clause. In a try statement, this is the "finally" clause.
- 
- Returns:
- The optional secondary clause.
 
Skip navigation links 
 
Copyright © 1997, 2015, Oracle. All rights reserved.