DetectorFactoryCollection.instance();
for (Plugin plugin : Plugin.getAllPlugins()) {
FindBugsMain main = plugin.getFindBugsMain(cmd);
if (main != null) {
try {
main.invoke(a);
} catch (java.lang.reflect.InvocationTargetException e) {
throw e.getCause();
}
return;
}