Build 1.0_r1(from source)

java.lang.reflect
Interface GenericDeclaration

All Known Implementing Classes:
Class, Constructor, Method

public interface GenericDeclaration

Common interface for entities that have type variables.

Since:
1.5

Method Summary
 TypeVariable<?>[] getTypeParameters()
          Returns the generic declared types in declaration order.
 

Method Detail

getTypeParameters

TypeVariable<?>[] getTypeParameters()
Returns the generic declared types in declaration order. If there are no generic types this method returns a zero length array.

Returns:
array of generic declared type variables.
Throws:
GenericSignatureFormatError - if the signature is malformed.

Build 1.0_r1(from source)

Please submit a feedback, bug or feature