int (@NotNull LibraryTable libraryTable) { if (libraryTable.getTableLevel().equals(LibraryTableImplUtil.MODULE_LEVEL)) return 0; if (isProjectLibraryTable(libraryTable)) return 1; if (isApplicationLibraryTable(libraryTable)) return 2; return 3; }