private static String getTypeWarning(final Class<?> type) {
        return "argument must be one of the following: Stream, Iterable, Iterator, "
                + "or an array/varargs (primitive or complex type); was " + type.getName() + " instead";
    }
Collect an iterable-like into a newly allocated ArrayList.
@param iterable the iterable-like to collect
@return a new list with the elements
core/src/main/java/org/jdbi/v3/core/internal/IterableLike.java