public interface TryTree extends StatementTree
try
block
catches
finally
finallyBlock
| Modifier and Type | Method and 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, getStartPositionBlockTree getBlock()
List<? extends CatchTree> getCatches()
BlockTree getFinallyBlock()
Copyright © 2014, 2016, Oracle and/or its affiliates. All rights reserved.
DRAFT 9-internal+0-2016-04-14-195246.buildd.src