# GenericArrayType

public interface **GenericArrayType** implements [Type](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/reflect/Type.html) `GenericArrayType` represents an array type whose component
type is either a parameterized type or a type variable.

### Public Method Summary

|---|---|
| abstract [Type](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/reflect/Type.html) | [getGenericComponentType](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/reflect/GenericArrayType.html#getGenericComponentType())() Returns a `Type` object representing the component type of this array. |

## Public Methods

#### public abstract [Type](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/reflect/Type.html)
**getGenericComponentType**
()

Returns a `Type` object representing the component type
of this array. This method creates the component type of the
array. See the declaration of `https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/reflect/ParameterizedType.html` for the
semantics of the creation process for parameterized types and
see `https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/reflect/TypeVariable.html` for the
creation process for type variables.

##### Returns

- a `Type` object representing the component type of this array

##### Throws

| [TypeNotPresentException](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/TypeNotPresentException.html) | if the underlying array type's component type refers to a non-existent type declaration |
| [MalformedParameterizedTypeException](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/reflect/MalformedParameterizedTypeException.html) | if the underlying array type's component type refers to a parameterized type that cannot be instantiated for any reason |
|---|---|