default String renderCode(Generator gen, M model) {
        if (model.getCode().isEmpty()) {
            return "{}";
        } else {
            return Formatting.block(model.getCode().stream()
                .collect(joining(Formatting.nl()))
            );
        }
    }
Render the code-part of the model separated by new-line characters.

@param gen    the generator
@param model  the model
@return       the generated code
common-parent/codegen/src/main/java/com/speedment/common/codegen/internal/java/view/trait/HasCodeView.java