public static void registerDetector(String detectorName, Class detector)  { factories.add(detector); factoriesByName.put(detectorName, detector); namesByFactory.put(detector, detectorName);
private static void registerDetector(DetectorFactory factory)  { String detectorName = factory.getShortName(); factories.add(factory); factoriesByName.put(detectorName, factory); namesByFactory.put(factory, detectorName);
  public static void registerDetector(String detectorName, Class detector)  {	factories.add(detector);	factoriesByName.put(detectorName, detector);	namesByFactory.put(detector, detectorName);  }