src/share/classes/com/sun/mirror/apt/AnnotationProcessor.java

Print this page

        

@@ -48,15 +48,21 @@
  * of a particular annotation type or set of annotation types.
  * It may use its environment to find the program elements with
  * annotations of those types.  It may freely examine any other program
  * elements in the course of its processing.
  *
+ * @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.annotation.processing.Processor}.
+ *
  * @author Joseph D. Darcy
  * @author Scott Seligman
  * @since 1.5
  */
-
+@Deprecated
+@SuppressWarnings("deprecation")
 public interface AnnotationProcessor {
 
     /**
      * Process all program elements supported by this annotation processor.
      */