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

Print this page

        

@@ -32,15 +32,21 @@
 
 
 /**
  * Represents a method or constructor of a class or interface.
  *
+ * @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.ExecutableElement}.
+ *
  * @author Joseph D. Darcy
  * @author Scott Seligman
  * @since 1.5
  */
-
+@Deprecated
+@SuppressWarnings("deprecation")
 public interface ExecutableDeclaration extends MemberDeclaration {
 
     /**
      * Returns <tt>true</tt> if this method or constructor accepts a variable
      * number of arguments.