docs: public Detector2[] instantiateDetector2sInPass(BugReporter bugReporter) {
          Detector2[] detectorList = new Detector2[orderedFactoryList.size()];
          int count = 0;
          for (Iterator<DetectorFactory> j = iterator(); j.hasNext();) {
              detectorList[count++] = j.next().createDetector2(bugReporter);
          }
          return detectorList;
      }