code: 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;
      }
docs: Instantiate all of the Detector2s in this pass and return them in a
  (correctly-ordered) array.
  
  @param bugReporter
  the BugReporter
  @return array of Detector2s