2 * This file is part of yosql. It is subject to the license terms in the LICENSE file found in the top-level
3 * directory of this distribution and at https://creativecommons.org/publicdomain/zero/1.0/. No part of yosql,
4 * including this file, may be copied, modified, propagated, or distributed except according to the terms contained
8 package wtf
.metio
.yosql
.codegen
.files
;
10 import wtf
.metio
.yosql
.models
.immutables
.SqlConfiguration
;
12 import java
.nio
.file
.Path
;
13 import java
.util
.List
;
17 * Handles the configuration of method parameters, e.g. which type and index they have.
19 * @see DefaultSqlConfigurationFactory
22 public interface MethodParameterConfigurer
{
25 * Configures method parameters.
27 * @param configuration The original configuration to adapt.
28 * @return An adapted version of the original.
30 SqlConfiguration
configureParameters(SqlConfiguration configuration
, Path source
, Map
<String
, List
<Integer
>> parameterIndices
);