Collection<Path> (@NotNull String name, @NotNull String level) { try { Element libraryElement = null; if (LibraryTablesRegistrar.PROJECT_LEVEL.equals(level)) { libraryElement = findProjectLibraryElement(name); } else if (LibraryTablesRegistrar.APPLICATION_LEVEL.equals(level)) { libraryElement = findGlobalLibraryElement(name); } return libraryElement == null ? Collections.emptyList() : getClassRootPaths(libraryElement, null); } catch (CannotConvertException e) { return Collections.emptyList(); } }