Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.6.0)

E13403-07

javax.ide.model.java.source.tree
Interface StatementT

All Superinterfaces:
BlockElementT, Tree
All Known Subinterfaces:
AssertStatementT, BlockStatementT, BreakStatementT, CatchClauseT, CompoundStatementT, ConditionalStatementT, ContinueStatementT, DoStatementT, ElseClauseT, EmptyStatementT, ExpressionStatementT, FinallyClauseT, ForStatementT, IfStatementT, ReturnStatementT, SimpleStatementT, SwitchStatementT, SynchStatementT, ThrowStatementT, TryStatementT, WhileStatementT

public interface StatementT
extends Tree, BlockElementT

Common supertype of all statements. All statements can be classified as: simple, block, compound. Block statements are statements that are blocks. Simple statements have no child statements and optionally have expressions. Compound statements have child statements and optionally have expressions.


Field Summary
static StatementT[] EMPTY_ARRAY
           
 
Method Summary
 java.util.List getStatementLabels()
           
 
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
 

Field Detail

EMPTY_ARRAY

static final StatementT[] EMPTY_ARRAY
Method Detail

getStatementLabels

java.util.List getStatementLabels()
Returns:
The StatementLabelT array corresponding to this statement's label. Unlike all the other parse tree API array calls, this returns null if there are no labels. This is because labels rarely occur and there's no point creating a zero-length array for each statement.

List of StatementLabelTs.


Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.6.0)

E13403-07

Copyright © 1997, 2011, Oracle. All rights reserved.