ExistingLibraryEditor (@NotNull Library library) { ExistingLibraryEditor libraryEditor = myExistingLibraryEditors.get(library); if (libraryEditor == null) { libraryEditor = new ExistingLibraryEditor(library, null); Disposer.register(this, libraryEditor); myExistingLibraryEditors.put(library, libraryEditor); } return libraryEditor; }