Since: 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 ()

Since: 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