public static void loadProject(@NotNull JpsProject project,
                                 @NotNull Map<String, String> pathVariables,
                                 @NotNull JpsPathMapper pathMapper,
                                 @NotNull Path projectPath,
                                 boolean loadUnloadedModules,
                                 @Nullable Path externalConfigurationDirectory) throws IOException {
    loadProject(project, pathVariables, pathMapper, projectPath, externalConfigurationDirectory, DefaultExecutorHolder.threadPool,
                loadUnloadedModules);
  }
public static void loadProject(@NotNull JpsProject project,
                                 @NotNull Map<String, String> pathVariables,
                                 @NotNull JpsPathMapper pathMapper,
                                 @NotNull Path projectPath,
                                 boolean loadUnloadedModules,
                                 @Nullable Path externalConfigurationDirectory)