if (module != null) return new ModuleUsageGroup(module);
}
if (usage instanceof UsageInLibrary) {
UsageInLibrary usageInLibrary = (UsageInLibrary)usage;
OrderEntry entry = usageInLibrary.getLibraryEntry();
if (entry != null) return new LibraryUsageGroup(entry);
}
return null;
}