18 * 2 along with this work; if not, write to the Free Software Foundation,
19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
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 import java.util.List;
29
30 /**
31 * A tree node for a union type expression in a multicatch
32 * variable declaration.
33 *
34 * @author Maurizio Cimadamore
35 *
36 * @since 1.7
37 */
38 @jdk.Exported
39 public interface UnionTypeTree extends Tree {
40 /**
41 * Returns the alternative type expressions.
42 * @return the alternative type expressions
43 */
44 List<? extends Tree> getTypeAlternatives();
45 }
|
18 * 2 along with this work; if not, write to the Free Software Foundation,
19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
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 import java.util.List;
29
30 /**
31 * A tree node for a union type expression in a multicatch
32 * variable declaration.
33 *
34 * @author Maurizio Cimadamore
35 *
36 * @since 1.7
37 */
38 public interface UnionTypeTree extends Tree {
39 /**
40 * Returns the alternative type expressions.
41 * @return the alternative type expressions
42 */
43 List<? extends Tree> getTypeAlternatives();
44 }
|