docs: private void matchBugs(BugCollection origCollection, BugCollection newCollection) {
          matchBugs(SortedBugCollection.BugInstanceComparator.instance, origCollection, newCollection);
  
          mapFromNewToOldBug.clear();
          matchedOldBugs.clear();
  
          matchBugs(versionInsensitiveBugComparator, origCollection, newCollection);
          matchBugs(versionInsensitiveBugComparator, origCollection, newCollection, MatchOldBugs.IF_CLASS_NOT_SEEN_UNTIL_NOW);
          if (doMatchFixedBugs) {
              matchBugs(versionInsensitiveBugComparator, origCollection, newCollection, MatchOldBugs.ALWAYS);
          }
  
          if (!preciseMatch) {
              matchBugs(fuzzyBugPatternMatcher, origCollection, newCollection);
          }
  
          if (!noPackageMoves) {
              VersionInsensitiveBugComparator movedBugComparator = new VersionInsensitiveBugComparator();
              MovedClassMap movedClassMap = new MovedClassMap(origCollection, newCollection).execute();
              if (!movedClassMap.isEmpty()) {
                  movedBugComparator.setClassNameRewriter(movedClassMap);
                  movedBugComparator.setComparePriorities(precisePriorityMatch);
                  matchBugs(movedBugComparator, origCollection, newCollection);
                  if (!preciseMatch) {
                      movedBugComparator.setExactBugPatternMatch(false);
                      matchBugs(movedBugComparator, origCollection, newCollection);
                  }
              }
              /*
              if (false) {
                  System.out.println("Matched old bugs: " + matchedOldBugs.size());
              }
               */
  
          }
      }