KickJava   Java API By Example, From Geeks To Geeks.

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


1 /*
2  * @(#)ClassTree.java 1.5 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 class, interface, enum, or annotation
18  * type declaration.
19  *
20  * For example:
21  * <pre>
22  * <em>modifiers</em> class <em>simpleName</em> <em>typeParameters</em>
23  * extends <em>extendsClause</em>
24  * implements <em>implementsClause</em>
25  * {
26  * <em>members</em>
27  * }
28  * </pre>
29  *
30  * @see "The Java Language Specification, 3rd ed,
31  * sections 8.1, 8.9, 9.1, and 9.6"
32  *
33  * @author Peter von der Ah&eacute;
34  * @author Jonathan Gibbons
35  * @since 1.6
36  */

37 public interface ClassTree extends StatementTree {
38     ModifiersTree getModifiers();
39     Name getSimpleName();
40     List JavaDoc<? extends TypeParameterTree> getTypeParameters();
41     Tree getExtendsClause();
42     List JavaDoc<? extends Tree> getImplementsClause();
43     List JavaDoc<? extends Tree> getMembers();
44 }
45
Popular Tags