@NotNull
  private static List<DividerPolygon> createVisiblePolygons(@NotNull Editor editor1,
                                                            @NotNull Editor editor2,
                                                            @NotNull DividerPaintable paintable,
                                                            @NotNull Rectangle paintedArea) {
    if (editor1.isDisposed() || editor2.isDisposed()) return Collections.emptyList();

    IntPair yRange = new IntPair(paintedArea.y, paintedArea.y + paintedArea.height);
    DividerPaintableHandlerImpl handler = new DividerPaintableHandlerImpl(editor1, editor2, yRange);
    paintable.process(handler);
    return handler.getPolygons();
  }
@NotNull
  private static List<DividerPolygon> createVisiblePolygons(@NotNull Editor editor1,
                                                            @NotNull Editor editor2,
                                                            @NotNull DividerPaintable paintable,
                                                            @NotNull Rectangle paintedArea)