to top
Android APIs
Added in API level 1
public interface

GenericArrayType

implements Type
java.lang.reflect.GenericArrayType

Class Overview

This interface represents an array type with a component type that is either a parameterized type or a type variable.

Summary

Public Methods
abstract Type getGenericComponentType()
Returns the component type of this array.

Public Methods

public abstract Type getGenericComponentType ()

Added in API level 1

Returns the component type of this array.

Returns
  • the component type of this array
Throws
TypeNotPresentException if the component type points to a missing type
MalformedParameterizedTypeException if the component type points to a type that cannot be instantiated for some reason