Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
public interface

GenericDeclaration

java.lang.reflect.GenericDeclaration
Known Indirect Subclasses

Class Overview

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

public abstract TypeVariable[] <?> getTypeParameters ()

Added in API level 1

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

Returns
  • the declared type parameters in declaration order
Throws
GenericSignatureFormatError if the signature is malformed