public static String findUnloadedModuleByFile(@NotNull final VirtualFile file, @NotNull Project project) {
    if (project.isDefault()) return null;
    return ProjectFileIndex.getInstance(project).getUnloadedModuleNameForFile(file);
  }
public static String findUnloadedModuleByFile(@NotNull final VirtualFile file, @NotNull Project project)