@NotNull
  private static List<Line> getLines(@NotNull List<? extends CharSequence> text, @NotNull ComparisonPolicy policy) {
    //noinspection SSBasedInspection - Can't use ContainerUtil
    return text.stream().map(line -> new Line(line, policy)).collect(Collectors.toList());
  }
@NotNull
  private static List<Line> getLines(@NotNull List<? extends CharSequence> text, @NotNull ComparisonPolicy policy)