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