List<DividerPolygon> (@NotNull Editor editor1, @NotNull Editor editor2, @NotNull DividerPaintable paintable) { if (editor1.isDisposed() || editor2.isDisposed()) return Collections.emptyList(); DividerPaintableHandlerImpl handler = new DividerPaintableHandlerImpl(editor1, editor2); paintable.process(handler); return handler.getPolygons(); }