KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > source > tree > WildcardTree


1 /*
2  * @(#)WildcardTree.java 1.3 05/11/17
3  *
4  * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
5  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6  *
7  * Use and Distribution is subject to the Java Research License available
8  * at <http://wwws.sun.com/software/communitysource/jrl.html>.
9  */

10
11 package com.sun.source.tree;
12
13 /**
14  * A tree node for a wildcard type argument.
15  * Use {@link #getKind getKind} to determine the kind of bound.
16  *
17  * For example:
18  * <pre>
19  * ?
20  *
21  * ? extends <em>bound</em>
22  *
23  * ? super <em>bound</em>
24  * </pre>
25  *
26  * @see "The Java Language Specification, 3rd ed, section 4.5.1"
27  *
28  * @author Peter von der Ah&eacute;
29  * @author Jonathan Gibbons
30  * @since 1.6
31  */

32 public interface WildcardTree extends Tree {
33     Tree getBound();
34 }
35
Popular Tags