src/share/classes/java/lang/reflect/TypeVariable.java

Print this page

        

@@ -46,11 +46,11 @@
  * @param <D> the type of generic declaration that declared the
  * underlying type variable.
  *
  * @since 1.5
  */
-public interface TypeVariable<D extends GenericDeclaration> extends Type {
+public interface TypeVariable<D extends GenericDeclaration> extends Type, AnnotatedElement {
     /**
      * Returns an array of {@code Type} objects representing the
      * upper bound(s) of this type variable.  Note that if no upper bound is
      * explicitly declared, the upper bound is {@code Object}.
      *