src/share/classes/com/sun/mirror/declaration/EnumConstantDeclaration.java

Print this page

        

*** 27,41 **** /** * Represents an enum constant declaration. * * @author Joseph D. Darcy * @author Scott Seligman * @since 1.5 */ ! public interface EnumConstantDeclaration extends FieldDeclaration { /** * {@inheritDoc} */ EnumDeclaration getDeclaringType(); --- 27,47 ---- /** * 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} */ EnumDeclaration getDeclaringType();