@ApiStatus.Internal
  public GlobalSearchScope getSearchScope(Project project) {
    RunConfigurationBase<?> configuration = getConfiguration();
    GlobalSearchScope scope = isTrackTestFolders() ? GlobalSearchScope.projectScope(project)
                                                   : GlobalSearchScopesCore.projectProductionScope(project);
    if (configuration instanceof ModuleBasedConfiguration<?, ?> moduleConfig) {
      Module module = moduleConfig.getConfigurationModule().getModule();
      if (module != null) {
        return GlobalSearchScope.moduleWithDependenciesScope(module).intersectWith(scope);
      }
    }
    return scope;
  }
@ApiStatus.Internal
  public GlobalSearchScope getSearchScope(Project project)