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

Print this page

        

@@ -40,15 +40,21 @@
  *
  * <p> Each implementation of an <tt>AnnotationProcessorFactory</tt>
  * must provide a public no-argument constructor to be used by tools to
  * instantiate the factory.
  *
+ * @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 AnnotationProcessorFactory {
 
     /**
      * Returns the options recognized by this factory or by any of the
      * processors it may create.