Library (Library library, String libraryName, String libraryLevel) { if (LibraryTablesRegistrar.PROJECT_LEVEL.equals(libraryLevel)) { return getModifiableProjectLibrariesModel().getLibraryByName(libraryName); } return library; }