javax.ide.model.java.source.tree
Interface CatchClauseT
- All Superinterfaces:
- BlockElementT, CompoundStatementT, StatementT, Tree
public interface CatchClauseT
- extends CompoundStatementT
A catch clause of a try statement. JLS3 14.20.
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 CatchClauseT[] EMPTY_ARRAY
getCatchVariable
FormalParameterT getCatchVariable()
- A catch clause declares one variable, the caught exception.
getOwningTry
TryStatementT getOwningTry()
- Returns:
- The owning try statement. Null if none (i.e. deformed tree).
Copyright © 1997, 2011, Oracle. All rights reserved.