@Override
        public R map(ResultSet rs, StatementContext ctx) throws SQLException {
            final Object[] params = new Object[count];
            for (ParameterData p : paramData) {
                params[p.index] = p.mapper == null ? null : p.mapper.map(rs, ctx);
                boolean wasNull = (params[p.index] == null || (p.isPrimitive && rs.wasNull()));
                if (p.propagateNull && wasNull) {
                    return postProcessor.apply(null);
                }
            }

            return postProcessor.apply(factory.newInstance(params));
        }
Instantiate a ConstructorMapper using the given constructor and prefix

@param <T> the type to map
@param constructor the constructor to be used in mapping
@param prefix      the column name prefix
@return the mapper
core/src/main/java/org/jdbi/v3/core/mapper/reflect/ConstructorMapper.java