Skip to content

Most visited

Recently visited

navigation
Added in API level 1

GenericDeclaration

public interface GenericDeclaration

java.lang.reflect.GenericDeclaration
Known Indirect Subclasses


Common interface for language constructs that declare type parameters.

Summary

Public methods

abstract TypeVariable[]<?> getTypeParameters()

Returns the declared type parameters in declaration order.

Public methods

getTypeParameters

Added in API level 1
TypeVariable[]<?> getTypeParameters ()

Returns the declared type parameters in declaration order. If there are no type parameters, this method returns a zero length array.

Returns
TypeVariable[]<?> the declared type parameters in declaration order
Throws
GenericSignatureFormatError if the signature is malformed
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.