public Class < ? > getArrayType ( Class < ? > clazz ) { if ( clazz . isArray ( ) ) { return getArrayType ( clazz . getComponentType ( ) ) ; } return clazz ; }
Returns the array type . Returns the specified class if it is not an array .