def METHOD_NAME(
    self, path: str, old_model: utils.StatementLinesCollector, new_model: utils.StatementLinesCollector
):
    if not self.config.show_diff:
        return
    old = [l + "\n" for l in old_model.text.splitlines()]
    new = [l + "\n" for l in new_model.text.splitlines()]
    lines = list(unified_diff(old, new, fromfile=f"{path}\tbefore", tofile=f"{path}\tafter"))
    if not lines:
        return
    if self.config.color:
        output = utils.decorate_diff_with_color(lines)
    else:
        output = utils.escape_rich_markup(lines)
    for line in output:
        console.print(line, end="", highlight=False, soft_wrap=True)