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

Print this page




  78      *
  79      * @since 1.5
  80      */
  81     D getGenericDeclaration();
  82 
  83     /**
  84      * Returns the name of this type variable, as it occurs in the source code.
  85      *
  86      * @return the name of this type variable, as it appears in the source code
  87      */
  88     String getName();
  89 
  90     /**
  91      * Returns an array of AnnotatedType objects that represent the use of
  92      * types to denote the upper bounds of the type parameter represented by
  93      * this TypeVariable. The order of the objects in the array corresponds to
  94      * the order of the bounds in the declaration of the type parameter.
  95      *
  96      * Returns an array of length 0 if the type parameter declares no bounds.
  97      *

  98      * @since 1.8
  99      */
 100      AnnotatedType[] getAnnotatedBounds();
 101 }


  78      *
  79      * @since 1.5
  80      */
  81     D getGenericDeclaration();
  82 
  83     /**
  84      * Returns the name of this type variable, as it occurs in the source code.
  85      *
  86      * @return the name of this type variable, as it appears in the source code
  87      */
  88     String getName();
  89 
  90     /**
  91      * Returns an array of AnnotatedType objects that represent the use of
  92      * types to denote the upper bounds of the type parameter represented by
  93      * this TypeVariable. The order of the objects in the array corresponds to
  94      * the order of the bounds in the declaration of the type parameter.
  95      *
  96      * Returns an array of length 0 if the type parameter declares no bounds.
  97      *
  98      * @return an array of objects representing the upper bounds of the type variable
  99      * @since 1.8
 100      */
 101      AnnotatedType[] getAnnotatedBounds();
 102 }