Plugin plugin = getDetectorFactoryCollection().getPluginById(what);
Plugin plugin = DetectorFactoryCollection.instance().getPluginById(what);
				public void choose(boolean enabled, String what) {					Plugin plugin = getDetectorFactoryCollection().getPluginById(what);					if (plugin == null)						throw new IllegalArgumentException("Unknown plugin: " + what);					plugin.setEnabled(enabled);				}