docs: @Deprecated
      public Detector[] instantiateDetectorsInPass(BugReporter bugReporter) {
          int count;
  
          count = 0;
          for (DetectorFactory factory : orderedFactoryList) {
              if (factory.isDetectorClassSubtypeOf(Detector.class)) {
                  count++;
              }
          }
  
          Detector[] detectorList = new Detector[count];
  
          count = 0;
          for (DetectorFactory factory : orderedFactoryList) {
              if (factory.isDetectorClassSubtypeOf(Detector.class)) {
                  detectorList[count++] = factory.create(bugReporter);
              }
          }
  
          return detectorList;
      }