--- old/src/share/classes/com/sun/mirror/declaration/EnumConstantDeclaration.java 2009-07-26 21:26:13.000000000 -0700 +++ new/src/share/classes/com/sun/mirror/declaration/EnumConstantDeclaration.java 2009-07-26 21:26:13.000000000 -0700 @@ -29,11 +29,17 @@ /** * Represents an enum constant declaration. * + * @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.VariableElement}. + * * @author Joseph D. Darcy * @author Scott Seligman * @since 1.5 */ - +@Deprecated +@SuppressWarnings("deprecation") public interface EnumConstantDeclaration extends FieldDeclaration { /** * {@inheritDoc}