KickJava   Java API By Example, From Geeks To Geeks.

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


1 /*
2  * @(#)AnnotationTypeElementDeclaration.java 1.3 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 /**
12  * Represents an element of an annotation type.
13  *
14  * @author Joe Darcy
15  * @author Scott Seligman
16  * @version 1.3 04/04/20
17  * @since 1.5
18  */

19
20 public interface AnnotationTypeElementDeclaration extends MethodDeclaration {
21
22     /**
23      * Returns the default value of this element.
24      *
25      * @return the default value of this element, or null if this element
26      * has no default.
27      */

28     AnnotationValue getDefaultValue();
29
30     /**
31      * {@inheritDoc}
32      */

33     AnnotationTypeDeclaration getDeclaringType();
34 }
35
Popular Tags