to top
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
No examples for this method.
Frequently called with: [Clear]
Portions of this page are reproduced from work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. The original page is available here.