/* * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package com.sun.source.tree; import java.util.List; /** * A tree node for a 'try' statement. * * For example: *
* try * block * catches * finally * finallyBlock ** * @jls section 14.20 * * @author Peter von der Ahé * @author Jonathan Gibbons * @since 1.6 */ @jdk.Exported public interface TryTree extends StatementTree { BlockTree getBlock(); List extends CatchTree> getCatches(); BlockTree getFinallyBlock(); List extends Tree> getResources(); }