--- old/src/share/classes/com/sun/mirror/apt/AnnotationProcessorEnvironment.java 2009-07-26 21:26:07.000000000 -0700 +++ new/src/share/classes/com/sun/mirror/apt/AnnotationProcessorEnvironment.java 2009-07-26 21:26:07.000000000 -0700 @@ -48,11 +48,17 @@ * 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 {@link + * javax.annotation.processing.ProcessingEnvironment}. + * * @author Joseph D. Darcy * @author Scott Seligman * @since 1.5 */ - +@Deprecated +@SuppressWarnings("deprecation") public interface AnnotationProcessorEnvironment { /** @@ -87,7 +93,6 @@ Filer getFiler(); - /** * Returns the declarations of the types specified when the * annotation processing tool was invoked.