--- old/src/share/classes/com/sun/mirror/declaration/InterfaceDeclaration.java 2009-07-26 21:26:14.000000000 -0700 +++ new/src/share/classes/com/sun/mirror/declaration/InterfaceDeclaration.java 2009-07-26 21:26:14.000000000 -0700 @@ -40,12 +40,18 @@ * represents an interface type. * See {@link TypeDeclaration} for more on this distinction. * + * @deprecated All components of this API have been superseded by the + * standardized annotation processing API. The replacement for the + * functionality of this interface is included in {@link + * javax.lang.model.element.TypeElement}. + * * @author Joseph D. Darcy * @author Scott Seligman * * @see InterfaceType * @since 1.5 */ - +@Deprecated +@SuppressWarnings("deprecation") public interface InterfaceDeclaration extends TypeDeclaration { }