KickJava   Java API By Example, From Geeks To Geeks.

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


1 /*
2  * @(#)TypeParameterTree.java 1.3 06/07/11
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 import java.util.List JavaDoc;
14 import javax.lang.model.element.Name;
15
16 /**
17  * A tree node for a type parameter.
18  *
19  * For example:
20  * <pre>
21  * <em>name</em>
22  *
23  * <em>name</em> extends <em>bounds</em>
24  * </pre>
25  *
26  * @see "The Java Language Specification, 3rd ed, section 4.4"
27  *
28  * @author Peter von der Ah&eacute;
29  * @author Jonathan Gibbons
30  * @since 1.6
31  */

32 public interface TypeParameterTree extends Tree {
33     Name getName();
34     List JavaDoc<? extends Tree> getBounds();
35 }
36
Popular Tags