code: public static ArrayWrapperList wrap(Object array) {
      if (array == null) {
        return null;
      }
      if (!array.getClass().isArray()) {
        throw new IllegalArgumentException("The object to wrap should be an array");
      }
      return new ArrayWrapperList(array);
    }
docs: Wraps a given array with a <code>{@link ArrayWrapperList}</code>
  
  @param array the array to wrap.
  @return the wrapped array or {@code null} if the given array was already {@code null}.
  @throws IllegalArgumentException if the {@code array} is not an array.