java.lang.reflect
public interface GenericDeclaration
Since: 1.5
Method Summary | |
---|---|
TypeVariable<?>[] | getTypeParameters()
Returns a TypeVariable object for each type variable
declared by this entity, in order of declaration. |
TypeVariable
object for each type variable
declared by this entity, in order of declaration. An empty array
is returned if no type variables are declared.
Returns: an array of TypeVariable
objects.
Throws: GenericSignatureFormatError if the signature format within the class file does not conform to that specified in the 3rd edition of the Java Virtual Machine Specification.