docs: public static Class<?>[] toClass(final Object... array) {
          if (array == null) {
              return null;
          } else if (array.length == 0) {
              return ArrayUtils.EMPTY_CLASS_ARRAY;
          }
          final Class<?>[] classes = new Class<?>[array.length];
          for (int i = 0; i < array.length; i++) {
              classes[i] = array[i] == null ? null : array[i].getClass();
          }
          return classes;
      }