src/share/classes/com/sun/mirror/declaration/AnnotationMirror.java

Print this page

        

*** 36,50 **** * * <p> Annotations should not be compared using reference-equality * ("<tt>==</tt>"). There is no guarantee that any particular * annotation will always be represented by the same object. * * @author Joseph D. Darcy * @author Scott Seligman * @since 1.5 */ ! public interface AnnotationMirror { /** * Returns the annotation type of this annotation. * --- 36,56 ---- * * <p> Annotations should not be compared using reference-equality * ("<tt>==</tt>"). There is no guarantee that any particular * annotation will always be represented by the same object. * + * @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.lang.model.element.AnnotationMirror}. + * * @author Joseph D. Darcy * @author Scott Seligman * @since 1.5 */ ! @Deprecated ! @SuppressWarnings("deprecation") public interface AnnotationMirror { /** * Returns the annotation type of this annotation. *