public static Collection<VirtualFile> getFiles(@NotNull Project project, @NotNull String idOrModule) {
    GlobalSearchScope scope = GlobalSearchScopesCore.projectProductionScope(project)
      .union(LibraryScopeCache.getInstance(project).getLibrariesOnlyScope());
    return FileBasedIndex.getInstance().getContainingFiles(NAME, idOrModule, scope);
  }
public static Collection<VirtualFile> getFiles(@NotNull Project project, @NotNull String idOrModule)