public ParsedSql build() {
            if (positional && named) {
                throw new UnableToExecuteStatementException(
                        "Cannot mix named and positional parameters in a SQL statement: " + parameterNames);
            }

            ParsedParameters parameters = new ParsedParameters(positional, parameterNames);

            return new ParsedSql(sql.toString(), parameters);
        }
Returns the finalized {@link ParsedSql} object.

@return the finalized {@link ParsedSql} object.
core/src/main/java/org/jdbi/v3/core/statement/ParsedSql.java