docs: void registerDetector(DetectorFactory factory) {
          if (FindBugs.DEBUG) {
              System.out.println("Registering detector: " + factory.getFullName());
          }
          String detectorName = factory.getShortName();
          if(!factoryList.contains(factory)) {
              factoryList.add(factory);
          } else {
              LOGGER.log(Level.WARNING, "Trying to add already registered factory: " + factory +
                      ", " + factory.getPlugin());
          }
          factoriesByName.put(detectorName, factory);
          factoriesByDetectorClassName.put(factory.getFullName(), factory);
      }