@Override
        public String toString() {
            return "MethodKey[" + name + "(" + type.parameterList().stream()
                    .map(Class::toString).collect(Collectors.joining(",")) + ")]";
        }
Inspect a type and find a matching constructor. The method tries to match as many parameters as possible
to the available constructors, cutting off parameters from the end one-by-one until a matching constructor is found.

@param type  The type that should be instantiated.
@param types Array of parameter types.
@return a handle to the found constructor, with the argument list adjusted to drop excess parameters
core/src/main/java/org/jdbi/v3/core/internal/JdbiClassUtils.java