Android APIs
Added in API level 1
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