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

Print this page

        

*** 46,60 **** * This may be the result of a processing error, such as a missing class file, * and is indicated by {@link #getDeclaration()} returning <tt>null</tt>. * Other method invocations on such an unknown type will not, in general, * return meaningful results. * * @author Joseph D. Darcy * @author Scott Seligman * @since 1.5 */ ! public interface DeclaredType extends ReferenceType { /** * Returns the declaration of this type. * --- 46,66 ---- * This may be the result of a processing error, such as a missing class file, * and is indicated by {@link #getDeclaration()} returning <tt>null</tt>. * Other method invocations on such an unknown type will not, in general, * return meaningful results. * + * @deprecated All components of this API have been superseded by the + * standardized annotation processing API. The replacement for the + * functionality of this interface is included in {@link + * javax.lang.model.type.DeclaredType}. + * * @author Joseph D. Darcy * @author Scott Seligman * @since 1.5 */ ! @Deprecated ! @SuppressWarnings("deprecation") public interface DeclaredType extends ReferenceType { /** * Returns the declaration of this type. *