Source code: javax/ide/model/java/source/tree/TryStatementT.java
1 /*
2 * @(#)TryStatementT.java
3 */
4
5 package javax.ide.model.java.source.tree;
6
7 import java.util.List;
8
9 /**
10 * A try statement. JLS3 14.20.
11 *
12 * @author Andy Yu
13 * */
14 public interface TryStatementT
15 extends CompoundStatementT
16 {
17 // ----------------------------------------------------------------------
18
19 /**
20 * @return The array of catch clauses. Returns a collection of
21 * CatchClauseTs. <p/>
22 *
23 * List of CatchClauseTs.
24 */
25 public List getCatchClauses();
26
27 /**
28 * @return The finally clause if present.
29 */
30 public FinallyClauseT getFinallyClause();
31
32
33 // ----------------------------------------------------------------------
34 }