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

Wed, 06 Apr 2011 19:30:57 -0700

author
darcy
date
Wed, 06 Apr 2011 19:30:57 -0700
changeset 969
8cc5b440fdde
parent 724
src/share/classes/com/sun/source/tree/DisjunctiveTypeTree.java@7755f47542a0
child 1013
8eb952f43b11
permissions
-rw-r--r--

7033809: Rename "disjunctive" to "union" in javax.lang.model
Reviewed-by: mcimadamore, jjg

mcimadamore@550 1 /*
darcy@969 2 * Copyright (c) 2010, 2011 Oracle and/or its affiliates. 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
ohair@557 7 * published by the Free Software Foundation. Oracle designates this
mcimadamore@550 8 * particular file as subject to the "Classpath" exception as provided
ohair@557 9 * by Oracle 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 *
ohair@557 21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
ohair@557 22 * or visit www.oracle.com if you need additional information or have any
ohair@557 23 * 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 /**
darcy@969 31 * A tree node for a union type expression in a multicatch var declaration.
mcimadamore@550 32 *
mcimadamore@550 33 * @author Maurizio Cimadamore
mcimadamore@550 34 *
mcimadamore@550 35 * @since 1.7
mcimadamore@550 36 */
darcy@969 37 public interface UnionTypeTree extends Tree {
jjg@724 38 List<? extends Tree> getTypeAlternatives();
ohair@557 39 }

mercurial