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

Print this page

        

*** 46,60 **** * * <p> {@link DeclarationFilter} * provides a simple way to select just the items of interest * when a method returns a collection of declarations. * * @author Joseph D. Darcy * @author Scott Seligman * @since 1.5 */ ! public interface AnnotationProcessorEnvironment { /** * Returns the options passed to the annotation processing tool. * Options are returned in the form of a map from option name --- 46,66 ---- * * <p> {@link 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 {@link + * javax.annotation.processing.ProcessingEnvironment}. + * * @author Joseph D. Darcy * @author Scott Seligman * @since 1.5 */ ! @Deprecated ! @SuppressWarnings("deprecation") public interface AnnotationProcessorEnvironment { /** * Returns the options passed to the annotation processing tool. * Options are returned in the form of a map from option name
*** 85,95 **** * @return the filer */ Filer getFiler(); - /** * Returns the declarations of the types specified when the * annotation processing tool was invoked. * * @return the types specified when the tool was invoked, or an --- 91,100 ----