1 /*2 * @(#)TryTree.java 1.2 05/11/173 *4 * Copyright 2006 Sun Microsystems, Inc. All rights reserved.5 * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.6 *7 * Use and Distribution is subject to the Java Research License available8 * at <http://wwws.sun.com/software/communitysource/jrl.html>.9 */10 11 package com.sun.source.tree;12 13 import java.util.List ;14 15 /**16 * A tree node for a 'try' statement.17 *18 * For example:19 * <pre>20 * try 21 * <em>block</em>22 * <em>catches</em>23 * finally24 * <em>finallyBlock</em>25 * </pre>26 *27 * @see "The Java Language Specification, 3rd ed, section 14.20"28 *29 * @author Peter von der Ahé30 * @author Jonathan Gibbons31 * @since 1.632 */33 public interface TryTree extends StatementTree {34 BlockTree getBlock();35 List <? extends CatchTree> getCatches();36 BlockTree getFinallyBlock();37 }38