src/share/classes/com/sun/source/tree/UnionTypeTree.java
Print this page
@@ -1,7 +1,7 @@
/*
- * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2010, 2011 Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
@@ -26,15 +26,14 @@
package com.sun.source.tree;
import java.util.List;
/**
- * A tree node for a disjunctive type expression in a multicatch var declaration.
- *
+ * A tree node for a union type expression in a multicatch var declaration.
*
* @author Maurizio Cimadamore
*
* @since 1.7
*/
-public interface DisjunctiveTypeTree extends Tree {
+public interface UnionTypeTree extends Tree {
List<? extends Tree> getTypeAlternatives();
}