Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

javax.ide.model.java.source.tree
Interface CompoundStatementT  view CompoundStatementT download CompoundStatementT.java

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.


Field Summary
 
Fields inherited from interface javax.ide.model.java.source.tree.StatementT
EMPTY_ARRAY
 
Method Summary
 ExpressionT getControlExpression()
          In a for statement, null is returned.
 StatementT getEndClause()
          In an if statement, this is the "else" clause.
 StatementT getPrimaryClause()
           
 
Methods inherited from interface javax.ide.model.java.source.tree.StatementT
getStatementLabels, getStatementToken
 
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
 

Method Detail

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.