KickJava   Java API By Example, From Geeks To Geeks.

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


1 /*
2  * @(#)ModifiersTree.java 1.2 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 import java.util.List JavaDoc;
14 import java.util.Set JavaDoc;
15 import javax.lang.model.element.Modifier;
16
17 /**
18  * A tree node for the modifiers, including annotations, for a declaration.
19  *
20  * For example:
21  * <pre>
22  * <em>flags</em>
23  *
24  * <em>flags</em> <em>annotations</em>
25  * </pre>
26  *
27  * @see "The Java Language Specification, 3rd ed, sections
28  * 8.1.1, 8.3.1, 8.4.3, 8.5.1, 8.8.3, 9.1.1, and 9.7"
29  *
30  * @author Peter von der Ah&eacute;
31  * @author Jonathan Gibbons
32  * @since 1.6
33  */

34 public interface ModifiersTree extends Tree {
35     Set JavaDoc<Modifier> getFlags();
36     List JavaDoc<? extends AnnotationTree> getAnnotations();
37 }
38
Popular Tags