String (@NotNull Library library) { final LibrariesModifiableModel model = getLibrariesModifiableModel(library.getTable()); if (model != null) { if (model.hasLibraryEditor(library)) { return model.getLibraryEditor(library).getName(); } } return Objects.toString(library.getName()); }