private <T> ScalaWriter params(Collection<T> parameters, Function<T, Parameter> transformer)
            throws IOException {
        append("(");
        boolean first = true;
        for (T param : parameters) {
            if (!first) {
                append(COMMA);
            }
            param(transformer.apply(param));
            first = false;
        }
        append(")");
        return this;
    }
");
        for (String line : lines) {
            line(" * ", line);
        }
        return line("
querydsl-codegen-utils/src/main/java/com/querydsl/codegen/utils/ScalaWriter.java