src/share/classes/com/sun/mirror/util/DeclarationScanner.java

Print this page

        

*** 37,51 **** * class pass in their own visitors for pre and post processing. The * preprocessing visitor is called before the contained declarations * are scanned; the postprocessing visitor is called after the * contained declarations are scanned. * * @author Joseph D. Darcy * @author Scott Seligman * @since 1.5 */ ! class DeclarationScanner implements DeclarationVisitor { protected DeclarationVisitor pre; protected DeclarationVisitor post; DeclarationScanner(DeclarationVisitor pre, DeclarationVisitor post) { --- 37,57 ---- * class pass in their own visitors for pre and post processing. The * preprocessing visitor is called before the contained declarations * are scanned; the postprocessing visitor is called after the * contained declarations are scanned. * + * @deprecated All components of this API have been superseded by the + * standardized annotation processing API. The replacement for the + * functionality of this class is {@link + * javax.lang.model.util.ElementScanner6}. + * * @author Joseph D. Darcy * @author Scott Seligman * @since 1.5 */ ! @Deprecated ! @SuppressWarnings("deprecation") class DeclarationScanner implements DeclarationVisitor { protected DeclarationVisitor pre; protected DeclarationVisitor post; DeclarationScanner(DeclarationVisitor pre, DeclarationVisitor post) {