BaseLibrariesConfigurable (final Library library) { if (LibraryTablesRegistrar.PROJECT_LEVEL.equals(library.getTable().getTableLevel())) { return myProjectLibrariesConfig; } else { return myGlobalLibrariesConfig; } }