IntersectionTypeTree.java revision 3193:3b3bea483542
1196212Sscottl/*
2196212Sscottl * Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
3196212Sscottl * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4196212Sscottl *
5196212Sscottl * This code is free software; you can redistribute it and/or modify it
6196212Sscottl * under the terms of the GNU General Public License version 2 only, as
7196212Sscottl * published by the Free Software Foundation.  Oracle designates this
8196212Sscottl * particular file as subject to the "Classpath" exception as provided
9196212Sscottl * by Oracle in the LICENSE file that accompanied this code.
10196212Sscottl *
11196212Sscottl * This code is distributed in the hope that it will be useful, but WITHOUT
12196212Sscottl * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13196212Sscottl * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
14196212Sscottl * version 2 for more details (a copy is included in the LICENSE file that
15196212Sscottl * accompanied this code).
16196212Sscottl *
17196212Sscottl * You should have received a copy of the GNU General Public License version
18196212Sscottl * 2 along with this work; if not, write to the Free Software Foundation,
19196212Sscottl * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20196212Sscottl *
21196212Sscottl * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22196212Sscottl * or visit www.oracle.com if you need additional information or have any
23196212Sscottl * questions.
24196212Sscottl */
25196212Sscottl
26196212Sscottlpackage com.sun.source.tree;
27196212Sscottl
28196212Sscottlimport java.util.List;
29196212Sscottl
30196212Sscottl/**
31196212Sscottl * A tree node for an intersection type in a cast expression.
32196212Sscottl *
33196212Sscottl * @author Maurizio Cimadamore
34196212Sscottl *
35196212Sscottl * @since 1.8
36196212Sscottl */
37196212Sscottlpublic interface IntersectionTypeTree extends Tree {
38196212Sscottl    /**
39196212Sscottl     * Returns the bounds of the type.
40196212Sscottl     * @return the bounds
41196212Sscottl     */
42196212Sscottl    List<? extends Tree> getBounds();
43196212Sscottl}
44196212Sscottl