KickJava   Java API By Example, From Geeks To Geeks.

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


1 /*
2  * @(#)AnnotationTree.java 1.3 06/06/08
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
15 /**
16  * A tree node for an annotation.
17  *
18  * For example:
19  * <pre>
20  * {@code @}<em>annotationType</em>
21  * {@code @}<em>annotationType</em> ( <em>arguments</em> )
22  * </pre>
23  *
24  * @see "The Java Language Specification, 3rd ed, section 9.7"
25  *
26  * @author Peter von der Ah&eacute;
27  * @author Jonathan Gibbons
28  * @since 1.6
29  */

30 public interface AnnotationTree extends ExpressionTree {
31     Tree getAnnotationType();
32     List JavaDoc<? extends ExpressionTree> getArguments();
33 }
34
Popular Tags