docs: public static @CheckForNull
      BugCollection doAnalysis(@Nonnull Project p) {
          requireNonNull(p, "null project");
  
          RedoAnalysisCallback ac = new RedoAnalysisCallback();
  
          AnalyzingDialog.show(p, ac, true);
  
          if (ac.finished) {
              return ac.getBugCollection();
          } else {
              return null;
          }
  
      }