@Override
  void disposeEditorFor(@NotNull DocumentWindow documentWindow) {
    synchronized (allEditors) {
      for (Iterator<EditorWindowImpl> iterator = allEditors.iterator(); iterator.hasNext(); ) {
        EditorWindowImpl editor = iterator.next();
        if (InjectionRegistrarImpl.intersect(editor.getDocument(), (DocumentWindowImpl)documentWindow)) {
          editor.dispose();
          iterator.remove();
        }
      }
    }
  }
@Override
  void disposeEditorFor(@NotNull DocumentWindow documentWindow)