diff -r 22083952ee8f -r 22011d9a9398 langtools/src/share/classes/com/sun/mirror/declaration/Declaration.java --- a/langtools/src/share/classes/com/sun/mirror/declaration/Declaration.java Fri Jul 24 14:47:01 2009 -0700 +++ b/langtools/src/share/classes/com/sun/mirror/declaration/Declaration.java Sun Jul 26 21:27:11 2009 -0700 @@ -44,6 +44,11 @@ * method. There is no guarantee that any particular declaration will * always be represented by the same object. * + * @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.Element}. + * * @author Joseph D. Darcy * @author Scott Seligman * @@ -51,7 +56,8 @@ * @see TypeMirror * @since 1.5 */ - +@Deprecated +@SuppressWarnings("deprecation") public interface Declaration { /**