langtools/src/share/classes/com/sun/mirror/declaration/Declaration.java
changeset 3378 22011d9a9398
parent 10 06bc494ca11e
child 5520 86e4b9a9da40
equal deleted inserted replaced
3377:22083952ee8f 3378:22011d9a9398
    42  *
    42  *
    43  * <p> Declarations should be compared using the {@link #equals(Object)}
    43  * <p> Declarations should be compared using the {@link #equals(Object)}
    44  * method.  There is no guarantee that any particular declaration will
    44  * method.  There is no guarantee that any particular declaration will
    45  * always be represented by the same object.
    45  * always be represented by the same object.
    46  *
    46  *
       
    47  * @deprecated All components of this API have been superseded by the
       
    48  * standardized annotation processing API.  The replacement for the
       
    49  * functionality of this interface is {@link
       
    50  * javax.lang.model.element.Element}.
       
    51  *
    47  * @author Joseph D. Darcy
    52  * @author Joseph D. Darcy
    48  * @author Scott Seligman
    53  * @author Scott Seligman
    49  *
    54  *
    50  * @see Declarations
    55  * @see Declarations
    51  * @see TypeMirror
    56  * @see TypeMirror
    52  * @since 1.5
    57  * @since 1.5
    53  */
    58  */
    54 
    59 @Deprecated
       
    60 @SuppressWarnings("deprecation")
    55 public interface Declaration {
    61 public interface Declaration {
    56 
    62 
    57     /**
    63     /**
    58      * Tests whether an object represents the same declaration as this.
    64      * Tests whether an object represents the same declaration as this.
    59      *
    65      *