Source code: javax/ide/model/java/source/tree/CatchClauseT.java
1 /*
2 * @(#)CatchClauseT.java
3 */
4
5 package javax.ide.model.java.source.tree;
6
7 /**
8 * A catch clause of a try statement. JLS3 14.20. <p/>
9 *
10 * @author Andy Yu
11 * */
12 public interface CatchClauseT
13 extends CompoundStatementT
14 {
15 // ----------------------------------------------------------------------
16
17 public static CatchClauseT[] EMPTY_ARRAY = new CatchClauseT[ 0 ];
18
19
20 // ----------------------------------------------------------------------
21
22 /**
23 * A catch clause declares one variable, the caught exception.
24 */
25 public FormalParameterT getCatchVariable();
26
27 /**
28 * @return The owning try statement. Null if none (i.e. deformed tree).
29 */
30 public TryStatementT getOwningTry();
31
32
33 // ----------------------------------------------------------------------
34 }