private static @Nullable AnalysisScope getProjectScope(@NotNull DataContext dataContext) {
    final Project data = CommonDataKeys.PROJECT.getData(dataContext);
    if (data == null) {
      return null;
    }
    return new AnalysisScope(data);
  }
private static @Nullable AnalysisScope getProjectScope(@NotNull DataContext dataContext)