22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
25
26 package com.sun.source.tree;
27
28 /**
29 * A tree node for a {@code throw} statement.
30 *
31 * For example:
32 * <pre>
33 * throw <em>expression</em>;
34 * </pre>
35 *
36 * @jls section 14.18
37 *
38 * @author Peter von der Ahé
39 * @author Jonathan Gibbons
40 * @since 1.6
41 */
42 @jdk.Exported
43 public interface ThrowTree extends StatementTree {
44 /**
45 * Returns the expression to be thrown.
46 * @return the expression
47 */
48 ExpressionTree getExpression();
49 }
|
22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
25
26 package com.sun.source.tree;
27
28 /**
29 * A tree node for a {@code throw} statement.
30 *
31 * For example:
32 * <pre>
33 * throw <em>expression</em>;
34 * </pre>
35 *
36 * @jls section 14.18
37 *
38 * @author Peter von der Ahé
39 * @author Jonathan Gibbons
40 * @since 1.6
41 */
42 public interface ThrowTree extends StatementTree {
43 /**
44 * Returns the expression to be thrown.
45 * @return the expression
46 */
47 ExpressionTree getExpression();
48 }
|