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

Print this page

        

*** 44,60 **** * * <p> {@link com.sun.mirror.util.DeclarationFilter} * provides a simple way to select just the items of interest * when a method returns a collection of declarations. * * @author Joseph D. Darcy * @author Scott Seligman * * @see ClassType * @since 1.5 */ ! public interface ClassDeclaration extends TypeDeclaration { /** * Returns the class type directly extended by this class. * The only class with no superclass is <tt>java.lang.Object</tt>, --- 44,66 ---- * * <p> {@link com.sun.mirror.util.DeclarationFilter} * 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 { /** * Returns the class type directly extended by this class. * The only class with no superclass is <tt>java.lang.Object</tt>,