src/share/classes/com/sun/mirror/type/InterfaceType.java

Print this page

        

@@ -37,15 +37,21 @@
  * <p> While an {@link InterfaceDeclaration} represents the
  * <i>declaration</i> of an interface, an <tt>InterfaceType</tt>
  * represents an interface <i>type</i>.
  * See {@link TypeDeclaration} for more on this distinction.
  *
+ * @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.type.DeclaredType}.
+ *
  * @author Joseph D. Darcy
  * @author Scott Seligman
  * @since 1.5
  */
-
+@Deprecated
+@SuppressWarnings("deprecation")
 public interface InterfaceType extends DeclaredType {
 
     /**
      * {@inheritDoc}
      */