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

Print this page

        

@@ -30,15 +30,21 @@
 
 
 /**
  * Represents the declaration of an annotation type.
  *
+ * @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 {@link
+ * javax.lang.model.element.TypeElement}.
+ *
  * @author Joseph D. Darcy
  * @author Scott Seligman
  * @since 1.5
  */
-
+@Deprecated
+@SuppressWarnings("deprecation")
 public interface AnnotationTypeDeclaration extends InterfaceDeclaration {
 
     /**
      * Returns the annotation type elements of this annotation type.
      * These are the methods that are directly declared in the type's