< prev index next >

src/java.base/share/classes/java/lang/reflect/GenericDeclaration.java

Print this page
rev 60127 : 8249205: Remove unnecessary trademark symbols


  26 package java.lang.reflect;
  27 
  28 /**
  29  * A common interface for all entities that declare type variables.
  30  *
  31  * @since 1.5
  32  */
  33 public interface GenericDeclaration extends AnnotatedElement {
  34     /**
  35      * Returns an array of {@code TypeVariable} objects that
  36      * represent the type variables declared by the generic
  37      * declaration represented by this {@code GenericDeclaration}
  38      * object, in declaration order.  Returns an array of length 0 if
  39      * the underlying generic declaration declares no type variables.
  40      *
  41      * @return an array of {@code TypeVariable} objects that represent
  42      *     the type variables declared by this generic declaration
  43      * @throws GenericSignatureFormatError if the generic
  44      *     signature of this generic declaration does not conform to
  45      *     the format specified in
  46      *     <cite>The Java&trade; Virtual Machine Specification</cite>
  47      */
  48     public TypeVariable<?>[] getTypeParameters();
  49 }


  26 package java.lang.reflect;
  27 
  28 /**
  29  * A common interface for all entities that declare type variables.
  30  *
  31  * @since 1.5
  32  */
  33 public interface GenericDeclaration extends AnnotatedElement {
  34     /**
  35      * Returns an array of {@code TypeVariable} objects that
  36      * represent the type variables declared by the generic
  37      * declaration represented by this {@code GenericDeclaration}
  38      * object, in declaration order.  Returns an array of length 0 if
  39      * the underlying generic declaration declares no type variables.
  40      *
  41      * @return an array of {@code TypeVariable} objects that represent
  42      *     the type variables declared by this generic declaration
  43      * @throws GenericSignatureFormatError if the generic
  44      *     signature of this generic declaration does not conform to
  45      *     the format specified in
  46      *     <cite>The Java Virtual Machine Specification</cite>
  47      */
  48     public TypeVariable<?>[] getTypeParameters();
  49 }
< prev index next >