String (final Library library) { LibraryTable table = library.getTable(); LibraryTablePresentation presentation = table != null ? table.getPresentation() : ModuleLibraryTableBase.MODULE_LIBRARY_TABLE_PRESENTATION; return presentation.getDisplayName(false); }