int bugsNbr = getBugCollection().getCollection().size(); if (pass == 0)
if (pass <= 0)
	public void observeClass(ClassDescriptor classDescriptor) {		JavaClass clazz;		try {			clazz = AnalysisContext.currentAnalysisContext().lookupClass(classDescriptor);		} catch (ClassNotFoundException e) {			// This should not happen			return;		}				if (DEBUG) {			System.out.println("Observing class: " + clazz.getClassName()); //$NON-NLS-1$		}			// Keep track of classes analyzed		analyzedClassNameSet.add(clazz.getClassName());		if (filesNumber < analyzedClassNameSet.size())			filesNumber = analyzedClassNameSet.size();				// Update progress monitor		if (monitor == null) {			return;		}		if (!workStarted) {			workStarted = true;			filesNumber = findBugsProject.getFileCount();			if (!(monitor instanceof SubProgressMonitor)) {				monitor.beginTask("Performing bug checking...", expectedWork);			}		}		if (monitor.isCanceled()) {			// causes break in FindBugs main loop			Thread.currentThread().interrupt();		}		int bugsNbr = getBugCollection().getCollection().size();		if (pass == 0)			monitor.setTaskName(					"Prescanning... (found "					+ bugsNbr					+ ", checking "					+ getAbbreviatedClassName(clazz)					+ ")");		else 	if (pass == 1)			monitor.setTaskName(					"Bug checking... (found "					+ bugsNbr					+ ", checking "					+ getAbbreviatedClassName(clazz)					+ ")");		else 	if (pass == 2)			monitor.setTaskName(					"Bug checking... (2nd pass) (found "					+ bugsNbr					+ ", checking "					+ getAbbreviatedClassName(clazz)					+ ")");monitor.worked(MONITOR_INTERVAL);	}