if (reporter.stylesheet != null) {  xslt(reporter.stylesheet, args, argCount); return; }
	public static void main(String[] args) throws Exception {		PrintingBugReporter reporter = new PrintingBugReporter();		PrintingCommandLine commandLine = reporter.new PrintingCommandLine();		int argCount = commandLine.parse(args, 0, 2, "Usage: " + PrintingCommandLine.class.getName()				+ " [options] [<xml results> [<test results]] ");		// Load plugins, in order to get message files		DetectorFactoryCollection.instance();						SortedBugCollection bugCollection = new SortedBugCollection();		if (argCount < args.length)			bugCollection.readXML(args[argCount++], new Project());		else			bugCollection.readXML(System.in, new Project());				if (argCount < args.length)			reporter.setOutputStream(new PrintStream(new FileOutputStream(args[argCount++]), true));		RuntimeException storedException = null;		for (Iterator<BugInstance> i = bugCollection.iterator(); i.hasNext();) {			BugInstance warning = i.next();			try {			reporter.printBug(warning);			} catch (RuntimeException e) {				if (storedException == null) 				storedException = e;			}		}		if (storedException != null) throw storedException;			}