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

Print this page

        

@@ -35,15 +35,21 @@
  * <p> The implementations of the methods of this class do nothing but
  * delegate up the type hierarchy.  A subclass should override the
  * methods that correspond to the kinds of types 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.SimpleTypeVisitor6}.
+ *
  * @author Joseph D. Darcy
  * @author Scott Seligman
  * @since 1.5
  */
-
+@Deprecated
+@SuppressWarnings("deprecation")
 public class SimpleTypeVisitor implements TypeVisitor {
 
     /**
      * Creates a new <tt>SimpleTypeVisitor</tt>.
      */