for (int i = 0; i < detectors.length; ++i) { if (Thread.interrupted()) throw new InterruptedException(); try { Detector detector = detectors[i]; if (DEBUG) System.out.println("  running " + detector.getClass().getName());
for (int i = 0; i < detectors.length; ++i) { if (Thread.interrupted()) throw new InterruptedException();
  private void examineClass(String className) throws InterruptedException {	if (DEBUG) System.out.println("Examining class " + className);	JavaClass javaClass;	try {		javaClass = Repository.lookupClass(className);	} catch (ClassNotFoundException e) {		throw new AnalysisException("Could not find class " + className + " in Repository", e);	}	ClassContext classContext = new ClassContext(javaClass);	for (int i = 0; i < detectors.length; ++i) {		if (Thread.interrupted())			throw new InterruptedException();		try {			Detector detector = detectors[i];			if (DEBUG) System.out.println("  running " + detector.getClass().getName());			try {				detector.visitClassContext(classContext);			} catch (AnalysisException e) {				bugReporter.logError(e.toString());			}		} catch (AnalysisException e) {			bugReporter.logError("Analysis exception: " + e.toString());		}	}	progressCallback.finishClass();  }