src/share/classes/com/sun/mirror/util/SimpleDeclarationVisitor.java

Print this page

        

@@ -35,15 +35,21 @@
  * <p> The implementations of the methods of this class do nothing but
  * delegate up the declaration hierarchy.  A subclass should override the
  * methods that correspond to the kinds of declarations on which it
  * will operate.
  *
+ * @deprecated All components of this API have been superseded by the
+ * standardized annotation processing API.  The replacement for the
+ * functionality of this class is {@link
+ * javax.lang.model.util.SimpleElementVisitor6}.
+ *
  * @author Joseph D. Darcy
  * @author Scott Seligman
  * @since 1.5
  */
-
+@Deprecated
+@SuppressWarnings("deprecation")
 public class SimpleDeclarationVisitor implements DeclarationVisitor {
 
     /**
      * Creates a new <tt>SimpleDeclarationVisitor</tt>.
      */