BugReporter bugReporter = new PrintingBugReporter();
BugReporter bugReporter = new DelegatingBugReporter(new PrintingBugReporter());
	public static void main(String[] args) throws Exception {		if (args.length != 1) {			System.err.println("Usage: " + FindBugs2.class.getName() + " <project>");			System.exit(1);		}		if (System.getProperty("findbugs.home") == null) {			throw new IllegalArgumentException("findbugs.home property must be set!");		}				BugReporter bugReporter = new PrintingBugReporter();				Project project = new Project();		project.read(args[0]);				FindBugs2 findBugs = new FindBugs2(bugReporter, project);				// Load plugins		DetectorFactoryCollection detectorFactoryCollection = new DetectorFactoryCollection();		detectorFactoryCollection.loadPlugins();		findBugs.setDetectorFactoryCollection(detectorFactoryCollection);				findBugs.execute();	}