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

Print this page

        

@@ -36,15 +36,21 @@
  * When a visitor is passed to a type's
  * {@link TypeMirror#accept accept} method,
  * the most specific <tt>visit<i>Xxx</i></tt> method applicable to
  * that type is invoked.
  *
+ * @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.TypeVisitor}.
+ *
  * @author Joseph D. Darcy
  * @author Scott Seligman
  * @since 1.5
  */
-
+@Deprecated
+@SuppressWarnings("deprecation")
 public interface TypeVisitor {
 
     /**
      * Visits a type mirror.
      *