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

Print this page

        

*** 33,47 **** * Represents a type variable. * A type variable is declared by a * {@linkplain TypeParameterDeclaration type parameter} of a * type, method, or constructor. * * @author Joe Darcy * @author Scott Seligman * @since 1.5 */ ! public interface TypeVariable extends ReferenceType { /** * Returns the type parameter that declared this type variable. * --- 33,53 ---- * Represents a type variable. * A type variable is declared by a * {@linkplain TypeParameterDeclaration type parameter} of a * type, method, or constructor. * + * @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.TypeVariable}. + * * @author Joe Darcy * @author Scott Seligman * @since 1.5 */ ! @Deprecated ! @SuppressWarnings("deprecation") public interface TypeVariable extends ReferenceType { /** * Returns the type parameter that declared this type variable. *