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

Mirror API
DRAFT ea-b118

com.sun.mirror.declaration
Interface AnnotationValue


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

@Deprecated
public interface AnnotationValue

Represents a value of an annotation type element.

Since:
1.5

Method Summary
Modifier and Type Method and Description
 SourcePosition getPosition()
          Deprecated. Returns the source position of the beginning of this annotation value.
 Object getValue()
          Deprecated. Returns the value.
 String toString()
          Deprecated. Returns a string representation of this value.
 

Method Detail

getValue

Object getValue()
Deprecated. 
Returns the value. The result has one of the following types:

Returns:
the value

getPosition

SourcePosition getPosition()
Deprecated. 
Returns the source position of the beginning of this annotation value. Returns null if the position is unknown or not applicable.

This source position is intended for use in providing diagnostics, and indicates only approximately where an annotation value begins.

Returns:
the source position of the beginning of this annotation value or null if the position is unknown or not applicable

toString

String toString()
Deprecated. 
Returns a string representation of this value. This is returned in a form suitable for representing this value in the source code of an annotation.

Overrides:
toString in class Object
Returns:
a string representation of this value

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.