Skip navigation links
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.
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 |
EMPTY_ARRAY
static final StatementT[] EMPTY_ARRAY
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.
Skip navigation links
Copyright © 1997, 2012, Oracle. All rights reserved.