langtools/src/share/classes/com/sun/mirror/util/DeclarationVisitor.java
changeset 3378 22011d9a9398
parent 10 06bc494ca11e
child 5520 86e4b9a9da40
equal deleted inserted replaced
3377:22083952ee8f 3378:22011d9a9398
    35  * compile time.  When a visitor is passed to a declaration's {@link
    35  * compile time.  When a visitor is passed to a declaration's {@link
    36  * Declaration#accept accept} method, the most specific
    36  * Declaration#accept accept} method, the most specific
    37  * <tt>visit<i>Xxx</i></tt> method applicable to that declaration is
    37  * <tt>visit<i>Xxx</i></tt> method applicable to that declaration is
    38  * invoked.
    38  * invoked.
    39  *
    39  *
       
    40  * @deprecated All components of this API have been superseded by the
       
    41  * standardized annotation processing API.  The replacement for the
       
    42  * functionality of this interface is {@link
       
    43  * javax.lang.model.element.ElementVisitor}.
       
    44  *
    40  * @author Joseph D. Darcy
    45  * @author Joseph D. Darcy
    41  * @author Scott Seligman
    46  * @author Scott Seligman
    42  * @since 1.5
    47  * @since 1.5
    43  */
    48  */
    44 
    49 @Deprecated
       
    50 @SuppressWarnings("deprecation")
    45 public interface DeclarationVisitor {
    51 public interface DeclarationVisitor {
    46 
    52 
    47     /**
    53     /**
    48      * Visits a declaration.
    54      * Visits a declaration.
    49      * @param d the declaration to visit
    55      * @param d the declaration to visit