@Nullable
 private static Library getAutoLibrary(SModuleReference reference, Project project) {
   String libraryName = LIBRARY_PREFIX + reference.getModuleName() + AUTO_SUFFIX;
   for (Library lib : ModuleLibrariesUtil.getLibraries(reference, project)) {
     if (lib.getName().equals(libraryName)) {
       return lib;
     }
   }
   return null;
 }
 public static Set<SModuleReference> getModules(SRepository repository, OrderEntry... roots) {
   Set<SModuleReference> modules = new HashSet<SModuleReference>();
   for (OrderEntry entry : roots) {
     if (entry instanceof LibraryOrderEntry) {
       modules.addAll(
           ModuleLibrariesUtil.getModules(repository, ((LibraryOrderEntry) entry).getLibrary()));
     }
   }
   return modules;
 }