public static Optional<Type> elementTypeOf(Object iterable) {
        return elementTypeOf(iterable.getClass());
    }
Given an iterable-like object, try to determine its static (i.e, without looking at contents) element type.
core/src/main/java/org/jdbi/v3/core/internal/IterableLike.java