for (Iterator<String> i = repositoryClassList.iterator(); i.hasNext();) { String className = i.next();
for (String className : repositoryClassList) {
	private void executeAnalysisPass(AnalysisPass analysisPass, List<String> repositoryClassList) throws InterruptedException {		// Callback for progress dialog: analysis is starting		progressCallback.startAnalysis(repositoryClassList.size());				if (ExecutionPlan.DEBUG) {			System.out.println("************* Analysis pass " + (passCount++) + " *************");			for (Iterator<DetectorFactory> i = analysisPass.iterator(); i.hasNext();) {				DetectorFactory factory = i.next();				System.out.println("\t" + factory.getFullName());			}		}		// Examine each class in the application		Set<String> examinedClassSet = new HashSet<String>();		for (Iterator<String> i = repositoryClassList.iterator(); i.hasNext();) {			String className = i.next();			if (examinedClassSet.add(className))				examineClass(analysisPass, className);		}				if (DEBUG) {			long total = 0;			Iterator<Long> timingsIt = detectorTimings.values().iterator();			while (timingsIt.hasNext()) {				total += timingsIt.next().longValue();			}			System.out.println();			System.out.println("Detector Timings");			Iterator<Map.Entry<String,Long>> it = detectorTimings.entrySet().iterator();			while (it.hasNext()) {				Map.Entry<String,Long> entry = it.next();				String detectorName = entry.getKey();				long detectorTime = entry.getValue().longValue();				System.out.println(detectorName + ": " + detectorTime + " ms  -> (" + (detectorTime * 100.0f / (float)total) + ") %");			}			System.out.println();			detectorTimings = new HashMap<String,Long>();		}		// Callback for progress dialog: analysis finished		progressCallback.finishPerClassAnalysis();		// Force any detectors which defer work until all classes have		// been seen to do that work.		this.reportFinal(analysisPass.getDetectorList());	}