code: public static <T> T[] buildArray(final Class<T> type, final int size, final T defaultValue) {
  
      Class<?> wrapperClass = ClassUtils.getWrapperClass(type);
      @SuppressWarnings("unchecked")
      T[] convertedArray = (T[]) Array.newInstance(wrapperClass, size);
      for (int i = 0; i < size; i++) {
        convertedArray[i] = defaultValue;
      }
      return convertedArray;
    }
docs: 新建数组。Returns a new given size length array instance by given type's wrapper
  type use default value.
  
  @param type 数组封装类型。the array component type.
  @param size 数组长度。want to build array length.
  @param defaultValue 默认值。the default value of array element.
  @return 一个按给定类型封装的指定长度数组，并按给定的默认值填充。a new array