--- old/src/share/classes/com/sun/mirror/util/Declarations.java 2009-07-26 21:26:24.000000000 -0700 +++ new/src/share/classes/com/sun/mirror/util/Declarations.java 2009-07-26 21:26:24.000000000 -0700 @@ -32,11 +32,17 @@ /** * Utility methods for operating on declarations. * + * @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.util.Elements}. + * * @author Joseph D. Darcy * @author Scott Seligman * @since 1.5 */ - +@Deprecated +@SuppressWarnings("deprecation") public interface Declarations { /**