if (SystemProperties.getProperty("findbugs.home") == null) { throw new IllegalArgumentException("findbugs.home property must be set!"); }   DetectorFactoryCollection detectorFactoryCollection = new DetectorFactoryCollection(); detectorFactoryCollection.loadPlugins();
	public static void main(String[] args) throws Exception {		if (SystemProperties.getProperty("findbugs.home") == null) {			throw new IllegalArgumentException("findbugs.home property must be set!");		}		// Create DetectorFactoryCollection and load plugins		DetectorFactoryCollection detectorFactoryCollection = new DetectorFactoryCollection();		detectorFactoryCollection.loadPlugins();				// Create FindBugs2 engine		FindBugs2 findBugs = new FindBugs2();		findBugs.setDetectorFactoryCollection(detectorFactoryCollection);				// Parse command line and configure the engine		TextUICommandLine commandLine = new TextUICommandLine(detectorFactoryCollection);		FindBugs.processCommandLine(commandLine, args, findBugs);				// Away we go!		FindBugs.runMain(findBugs, commandLine);	}