docs: private static void checkArrayType(Class clazz) {
          if (null == clazz) {
              throw new IllegalArgumentException("clazz can not be null");
          }
  
          if (!clazz.isArray()) {
              throw new IllegalArgumentException(clazz.getCanonicalName() + " is not array type");
          }
      }