src/share/classes/com/sun/source/tree/DisjointTypeTree.java

Mon, 03 May 2010 17:12:59 -0700

author
mcimadamore
date
Mon, 03 May 2010 17:12:59 -0700
changeset 550
a6f2911a7c55
child 557
9c2d50e46e31
permissions
-rw-r--r--

6943289: Project Coin: Improved Exception Handling for Java (aka 'multicatch')
Reviewed-by: jjg, darcy

mcimadamore@550 1 /*
mcimadamore@550 2 * Copyright 2010 Sun Microsystems, Inc. All Rights Reserved.
mcimadamore@550 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
mcimadamore@550 4 *
mcimadamore@550 5 * This code is free software; you can redistribute it and/or modify it
mcimadamore@550 6 * under the terms of the GNU General Public License version 2 only, as
mcimadamore@550 7 * published by the Free Software Foundation. Sun designates this
mcimadamore@550 8 * particular file as subject to the "Classpath" exception as provided
mcimadamore@550 9 * by Sun in the LICENSE file that accompanied this code.
mcimadamore@550 10 *
mcimadamore@550 11 * This code is distributed in the hope that it will be useful, but WITHOUT
mcimadamore@550 12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
mcimadamore@550 13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
mcimadamore@550 14 * version 2 for more details (a copy is included in the LICENSE file that
mcimadamore@550 15 * accompanied this code).
mcimadamore@550 16 *
mcimadamore@550 17 * You should have received a copy of the GNU General Public License version
mcimadamore@550 18 * 2 along with this work; if not, write to the Free Software Foundation,
mcimadamore@550 19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
mcimadamore@550 20 *
mcimadamore@550 21 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
mcimadamore@550 22 * CA 95054 USA or visit www.sun.com if you need additional information or
mcimadamore@550 23 * have any questions.
mcimadamore@550 24 */
mcimadamore@550 25
mcimadamore@550 26 package com.sun.source.tree;
mcimadamore@550 27
mcimadamore@550 28 import java.util.List;
mcimadamore@550 29
mcimadamore@550 30 /**
mcimadamore@550 31 * A tree node for a disjoint type expression in a multicatch var declaration.
mcimadamore@550 32 *
mcimadamore@550 33 *
mcimadamore@550 34 * @author Maurizio Cimadamore
mcimadamore@550 35 *
mcimadamore@550 36 * @since 1.7
mcimadamore@550 37 */
mcimadamore@550 38 public interface DisjointTypeTree extends Tree {
mcimadamore@550 39 List<? extends Tree> getTypeComponents();
mcimadamore@550 40 }

mercurial