src/share/classes/com/sun/mirror/declaration/AnnotationValue.java

Print this page

        

@@ -28,15 +28,21 @@
 import com.sun.mirror.util.SourcePosition;
 
 /**
  * Represents a value of an annotation type element.
  *
+ * @deprecated All components of this API have been superseded by the
+ * standardized annotation processing API.  The replacement for the
+ * functionality of this interface is {@link
+ * javax.lang.model.element.AnnotationValue}.
+ *
  * @author Joseph D. Darcy
  * @author Scott Seligman
  * @since 1.5
  */
-
+@Deprecated
+@SuppressWarnings("deprecation")
 public interface AnnotationValue {
 
     /**
      * Returns the value.
      * The result has one of the following types: