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

Print this page

        

*** 29,43 **** /** * Represents a declaration that may be a member or constructor of a declared * type. This includes fields, constructors, methods, and (since they * may be nested) declared types themselves. * * @author Joseph D. Darcy * @author Scott Seligman * @since 1.5 */ ! public interface MemberDeclaration extends Declaration { /** * Returns the type declaration within which this member or constructor * is declared. --- 29,49 ---- /** * Represents a declaration that may be a member or constructor of a declared * type. This includes fields, constructors, methods, and (since they * may be nested) declared types themselves. * + * @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 * @since 1.5 */ ! @Deprecated ! @SuppressWarnings("deprecation") public interface MemberDeclaration extends Declaration { /** * Returns the type declaration within which this member or constructor * is declared.