void (@NotNull FileEditorManager source, @NotNull VirtualFile file) { if (!Comparing.equal(file, getVirtualFile())) { return; } if (!Boolean.TRUE.equals(file.getUserData(FileEditorManagerImpl.CLOSING_TO_REOPEN))) { if (myCurrentEditor != null && myCurrentEditor.isDisposed()) { myCurrentEditor = null; } } }