Library (@NotNull String level, @NotNull String libraryName) { final Library library = DefaultPackagingElementResolvingContext.findLibrary(myProject, level, libraryName); return library != null ? myContext.getLibraryModel(library) : myContext.getLibrary(libraryName, level); }