DetectorFactoryCollection.instance();
DetectorFactoryCollection factories = DetectorFactoryCollection.instance();   HashSet<BugPattern> enabledPatternSet = new HashSet<BugPattern>(); for (Iterator<DetectorFactory> i = factories.factoryIterator(); i.hasNext(); ) { DetectorFactory factory = i.next(); if (factory.isEnabled()) enabledPatternSet.addAll(factory.getReportedBugPatterns()); }
	public void print() throws IOException {		// Ensure bug patterns are loaded		DetectorFactoryCollection.instance();		prologue();		Iterator<BugPattern> i = I18N.instance().bugPatternIterator();		while (i.hasNext()) {			BugPattern bugPattern = i.next();			emit(bugPattern);		}		epilogue();	}