code: private void assignToPass(DetectorFactory factory, AnalysisPass pass) {
          pass.addToPass(factory);
          assignedToPassSet.add(factory);
      }
docs: Make a DetectorFactory a member of an AnalysisPass.