private Type findOptionalType(Type wrapperType, Object nestedValue) {
            if (getErasedType(wrapperType).equals(com.google.common.base.Optional.class)) {
                Optional<Type> nestedType = findGenericParameter(wrapperType, com.google.common.base.Optional.class);
                if (nestedType.isPresent()) {
                    return nestedType.get();
                }
            }
            return nestedValue == null ? Object.class : nestedValue.getClass();
        }
Returns an {@link ArgumentFactory} which understands Guava types.

<p>Currently supported types:</p>
<ul>
<li>{@code com.google.common.base.Optional}</li>
</ul>

@return an {@link ArgumentFactory} which understands Guava types.
guava/src/main/java/org/jdbi/v3/guava/GuavaArguments.java