KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > mirror > declaration > AnnotationTypeDeclaration


1 /*
2  * @(#)AnnotationTypeDeclaration.java 1.2 04/04/20
3  *
4  * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
5  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6  */

7
8 package com.sun.mirror.declaration;
9
10
11 import java.util.Collection JavaDoc;
12
13
14 /**
15  * Represents the declaration of an annotation type.
16  *
17  * @author Joseph D. Darcy
18  * @author Scott Seligman
19  * @version 1.2 04/04/20
20  * @since 1.5
21  */

22
23 public interface AnnotationTypeDeclaration extends InterfaceDeclaration {
24
25     /**
26      * Returns the annotation type elements of this annotation type.
27      * These are the methods that are directly declared in the type's
28      * declaration.
29      *
30      * @return the annotation type elements of this annotation type,
31      * or an empty collection if there are none
32      */

33     Collection JavaDoc<AnnotationTypeElementDeclaration> getMethods();
34 }
35
Popular Tags