Spec-Zone .ru
спецификации, руководства, описания, API

Mirror API
DRAFT ea-b118

com.sun.mirror.declaration
Interface AnnotationTypeElementDeclaration

All Superinterfaces:
Declaration, ExecutableDeclaration, MemberDeclaration, MethodDeclaration

Deprecated. All components of this API have been superseded by the standardized annotation processing API. The replacement for the functionality of this interface is included in ExecutableElement.

@Deprecated
public interface AnnotationTypeElementDeclaration
extends MethodDeclaration

Represents an element of an annotation type.

Since:
1.5

Method Summary
Modifier and Type Method and Description
 AnnotationTypeDeclaration getDeclaringType()
          Deprecated. Returns the type declaration within which this member or constructor is declared.
 AnnotationValue getDefaultValue()
          Deprecated. Returns the default value of this element.
 
Methods inherited from interface com.sun.mirror.declaration.MethodDeclaration
getReturnType
 
Methods inherited from interface com.sun.mirror.declaration.ExecutableDeclaration
getFormalTypeParameters, getParameters, getThrownTypes, isVarArgs
 
Methods inherited from interface com.sun.mirror.declaration.Declaration
accept, equals, getAnnotation, getAnnotationMirrors, getDocComment, getModifiers, getPosition, getSimpleName
 

Method Detail

getDefaultValue

AnnotationValue getDefaultValue()
Deprecated. 
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()
Deprecated. 
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

Mirror API
DRAFT ea-b118

Copyright © 2004, 2010, Oracle Corporation. All rights reserved.
DRAFT ea-b118

Scripting on this page tracks web page traffic, but does not change the content in any way.