findBugs.setScanNestedArchives(scanNestedArchives);
	public void configureEngine(IFindBugsEngine findBugs) throws IOException, FilterException {		TextUIBugReporter textuiBugReporter;		switch (bugReporterType) {		case PRINTING_REPORTER:			textuiBugReporter = new PrintingBugReporter();			break;		case SORTING_REPORTER:			textuiBugReporter = new SortingBugReporter();			break;		case XML_REPORTER:			{				XMLBugReporter xmlBugReporter = new XMLBugReporter(project);				xmlBugReporter.setAddMessages(xmlWithMessages);				textuiBugReporter = xmlBugReporter;			}			break;		case EMACS_REPORTER:			textuiBugReporter = new EmacsBugReporter();			break;		case HTML_REPORTER:			textuiBugReporter = new HTMLBugReporter(project, stylesheet);			break;		case XDOCS_REPORTER:			textuiBugReporter = new XDocsBugReporter(project);			break;		default:			throw new IllegalStateException();		}		if (quiet)			textuiBugReporter.setErrorVerbosity(BugReporter.SILENT);		textuiBugReporter.setPriorityThreshold(priorityThreshold);		textuiBugReporter.setUseLongBugCodes(useLongBugCodes);		if (outputStream != null)			textuiBugReporter.setOutputStream(outputStream);		BugReporter bugReporter = textuiBugReporter;		if (bugCategorySet != null) {			bugReporter = new CategoryFilteringBugReporter(bugReporter, bugCategorySet);		}		findBugs.setBugReporter(bugReporter);		findBugs.setProject(project);		findBugs.setUserPreferences(userPreferences);		if (includeFilterFile != null) 			findBugs.addFilter(includeFilterFile, true);		if (excludeFilterFile != null) 			findBugs.addFilter(excludeFilterFile, false);		findBugs.setClassScreener(classScreener);		findBugs.setRelaxedReportingMode(relaxedReportingMode);		if (trainingOutputDir != null) {			findBugs.enableTrainingOutput(trainingOutputDir);		}		if (trainingInputDir != null) {			findBugs.enableTrainingInput(trainingInputDir);		}		if (sourceInfoFile != null) {			findBugs.setSourceInfoFile(sourceInfoFile);		}		findBugs.setAnalysisFeatureSettings(settingList);		findBugs.setReleaseName(releaseName);	}