java.lang.reflect

Interface GenericArrayType

public interface GenericArrayType extends Type

Represents the type of an array's components, which may be either a parameterized type or a type variable.

Since: 1.5

Method Summary
TypegetGenericComponentType()
Returns the Type of the components within the array.

Method Detail

getGenericComponentType

public Type getGenericComponentType()
Returns the Type of the components within the array.

Returns: a Type instance representing the type of the array's components.