--- old/src/share/classes/com/sun/mirror/util/TypeVisitor.java 2009-07-26 21:26:26.000000000 -0700 +++ new/src/share/classes/com/sun/mirror/util/TypeVisitor.java 2009-07-26 21:26:26.000000000 -0700 @@ -38,11 +38,17 @@ * the most specific visitXxx 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 { /**