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

Print this page

        

@@ -29,15 +29,21 @@
 /**
  * Represents a declaration that may be a member or constructor of a declared
  * type.  This includes fields, constructors, methods, and (since they
  * may be nested) declared types themselves.
  *
+ * @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.Element}.
+ *
  * @author Joseph D. Darcy
  * @author Scott Seligman
  * @since 1.5
  */
-
+@Deprecated
+@SuppressWarnings("deprecation")
 public interface MemberDeclaration extends Declaration {
 
     /**
      * Returns the type declaration within which this member or constructor
      * is declared.