--- old/src/share/classes/com/sun/mirror/declaration/ClassDeclaration.java 2009-07-26 21:26:12.000000000 -0700 +++ new/src/share/classes/com/sun/mirror/declaration/ClassDeclaration.java 2009-07-26 21:26:12.000000000 -0700 @@ -46,13 +46,19 @@ * provides a simple way to select just the items of interest * when a method returns a collection of 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 included in {@link + * javax.lang.model.element.TypeElement}. + * * @author Joseph D. Darcy * @author Scott Seligman * * @see ClassType * @since 1.5 */ - +@Deprecated +@SuppressWarnings("deprecation") public interface ClassDeclaration extends TypeDeclaration { /**