private static void buildWithRuntimeModuleDir(@NotNull RunnerAndConfigurationSettings runSettings, ExecutionEnvironmentBuilder builder) {
    RunConfiguration configuration = runSettings.getConfiguration();
    if (configuration instanceof UserDataHolder) {
      String moduleDir = ((UserDataHolder)configuration).getUserData(RUNTIME_MODULE_DIR_KEY);
      if (moduleDir != null)
        builder.modulePath(moduleDir);
    }
  }
private static void buildWithRuntimeModuleDir(@NotNull RunnerAndConfigurationSettings runSettings, ExecutionEnvironmentBuilder builder)