com.sun.mirror.declaration
Interface AnnotationTypeElementDeclaration
- All Superinterfaces:
- Declaration, ExecutableDeclaration, MemberDeclaration, MethodDeclaration
public interface AnnotationTypeElementDeclaration
- extends MethodDeclaration
Represents an element of an annotation type.
- Since:
- 1.5
getDefaultValue
AnnotationValue getDefaultValue()
- Returns the default value of this element.
- Returns:
- the default value of this element, or null if this element
has no default.
getDeclaringType
AnnotationTypeDeclaration getDeclaringType()
- Returns the type declaration within which this member or constructor
is declared.
If this is the declaration of a top-level type (a non-nested class
or interface), returns null.
- Specified by:
getDeclaringType
in interface MemberDeclaration
- Returns:
- the type declaration within which this member or constructor
is declared, or null if there is none
Report a bug or request a feature.
Copyright 2004 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.