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

Print this page

        

@@ -52,17 +52,23 @@
  *
  * <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 DeclaredType
  * @since 1.5
  */
-
+@Deprecated
+@SuppressWarnings("deprecation")
 public interface TypeDeclaration extends MemberDeclaration {
 
     /**
      * Returns the package within which this type is declared.
      *