StatementTree
, Tree
public interface TryTree extends StatementTree
try block catches finally finallyBlock
Modifier and Type | Method | Description |
---|---|---|
BlockTree |
getBlock() |
Returns the 'try' block of this 'try' statement.
|
List<? extends CatchTree> |
getCatches() |
Returns the list of 'catch' statements associated with this 'try'.
|
BlockTree |
getFinallyBlock() |
Returns the 'finally' block associated with this 'try'.
|
accept, getEndPosition, getKind, getStartPosition
BlockTree getBlock()
List<? extends CatchTree> getCatches()
BlockTree getFinallyBlock()
Copyright © 2014, 2016, Oracle and/or its affiliates. All rights reserved.
DRAFT 9-Ubuntu+0-9b144-1ubuntu1