@SuppressWarnings("unchecked")
        private Function<Object, R> findFunction(StatementContext ctx) {
            return (Function<Object, R>) ctx.getConfig(SqlObjectStatementConfiguration.class)
                .getArgs()[functionIndex];
        }
Inspect a Method for a {@link Consumer} to execute for each produced row.

@param method the method called
@return a ResultReturner that invokes the consumer and does not return a value
sqlobject/src/main/java/org/jdbi/v3/sqlobject/statement/internal/ResultReturner.java