FileDocCategorySizeDatePackage
GenericArrayType.javaAPI DocJava SE 5 API1336Fri Aug 26 14:57:06 BST 2005java.lang.reflect

GenericArrayType

public interface GenericArrayType implements Type
GenericArrayType represents an array type whose component type is either a parameterized type or a type variable.
since
1.5

Fields Summary
Constructors Summary
Methods Summary
public java.lang.reflect.TypegetGenericComponentType()
Returns a Type object representing the component type of this array. This method creates the component type of the array. See the declaration of {@link java.lang.reflect.ParameterizedType ParameterizedType} for the semantics of the creation process for parameterized types and see {@link java.lang.reflect.TypeVariable TypeVariable} for the creation process for type variables.

return
a Type object representing the component type of this array
throws
TypeNotPresentException if the underlying array type's component type refers to a non-existent type declaration
throws
MalformedParameterizedTypeException if the underlying array type's component type refers to a parameterized type that cannot be instantiated for any reason