public interface TryStatement extends Statement
[JLS3:14.20] The try statement [JLS8:14.20.3] try-with-resources | Modifier and Type | Method and Description |
|---|---|
List<? extends CatchClause> |
getCatchClauses()
Returns the
catch clauses. |
Block |
getFinallyBlock()
Returns the body block of
finally clause. |
List<? extends TryResource> |
getResources()
Returns the resource statements.
|
Block |
getTryBlock()
Returns the body block of
try clause. |
accept, equals, findModelTrait, getModelKind, hashCode, putModelTraitList<? extends TryResource> getResources()
Block getTryBlock()
try clause.try clauseList<? extends CatchClause> getCatchClauses()
catch clauses.catch clauses, or an empty list if there is no cache clausesBlock getFinallyBlock()
finally clause.finally clause, or null if it is not specifiedCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.