presto-main/src/main/java/io/prestosql/sql/planner/ParameterRewriter.java/ParameterRewriter/rewriteParameter
class ParameterRewriter:    @Override
    public Expression rewriteParameter(Parameter node, Void context, ExpressionTreeRewriter<Void> treeRewriter)
    {
        checkState(parameters.size() > node.getPosition(), "Too few parameter values");
        return coerceIfNecessary(node, parameters.get(NodeRef.of(node)));
    }