@Override
    public void dispose() {
      ThreadingAssertions.assertEventDispatchThread();
      myInlays.forEach(Disposer::dispose);
      myInlays.clear();
      myRanges.forEach(RangeHighlighter::dispose);
      myRanges.clear();
    }
@Override
    public void dispose()