private @Nullable AnalysisScope getAnalysisScope(@NotNull Project project) throws ExecutionException, InterruptedException {
    SearchScope scope = getSearchScope(project);
    if (scope == null) return null;
    return new AnalysisScope(scope, project);
  }
private @Nullable AnalysisScope getAnalysisScope(@NotNull Project project)