private static Collection<String> getFolderPathsWithinProjectWhereRunConfigurationsStored(@NotNull Project project) {
    Set<String> result = new HashSet<>();
    for (RunnerAndConfigurationSettings settings : RunManager.getInstance(project).getAllSettings()) {
      String filePath = settings.getPathIfStoredInArbitraryFileInProject();
      // two conditions on the next line are effectively equivalent, this is to make inspections happy
      if (settings.isStoredInArbitraryFileInProject() && filePath != null) {
        result.add(PathUtil.getParentPath(filePath));
      }
    }
    return result;
  }
private static Collection<String> getFolderPathsWithinProjectWhereRunConfigurationsStored(@NotNull Project project)