code: public static Class getInnerComponentType( Class type ) {
        if( !type.isArray() ){
           return type;
        }
        return getInnerComponentType( type.getComponentType() );
     }
docs: Returns the inner-most component type of an Array.