public interface GenericDeclaration
Modifier and Type | Method and Description |
---|---|
TypeVariable<?>[] |
getTypeParameters()
Returns a
TypeVariable object for each type variable
declared by this entity, in order of declaration. |
TypeVariable<?>[] getTypeParameters()
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.TypeVariable
objects.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.