src/share/classes/com/sun/mirror/type/TypeMirror.java

Print this page

        

*** 41,58 **** * <p> Types may be compared using the utility methods in * {@link Types}. * There is no guarantee that any particular type will * always be represented by the same object. * * @author Joseph D. Darcy * @author Scott Seligman * * @see Declaration * @see Types * @since 1.5 */ ! public interface TypeMirror { /** * Returns a string representation of this type. * Any names embedded in the expression are qualified. --- 41,64 ---- * <p> Types may be compared using the utility methods in * {@link Types}. * There is no guarantee that any particular type 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.type.TypeMirror}. + * * @author Joseph D. Darcy * @author Scott Seligman * * @see Declaration * @see Types * @since 1.5 */ ! @Deprecated ! @SuppressWarnings("deprecation") public interface TypeMirror { /** * Returns a string representation of this type. * Any names embedded in the expression are qualified.