for (DiscoveredCodeBase discoveredCodeBase : discoveredCodeBaseList) { classPath.addCodeBase(discoveredCodeBase.getCodeBase()); }      for (DiscoveredCodeBase discoveredCodeBase : discoveredCodeBaseList) { for (ICodeBaseIterator i = discoveredCodeBase.iterator(); i.hasNext(); ) { ICodeBaseEntry entry = i.next(); if (!ClassDescriptor.isClassResource(entry.getResourceName())) { continue; }  ClassDescriptor classDescriptor = ClassDescriptor.fromResourceName(entry.getResourceName());  if (allClassSet.contains(classDescriptor)) {  continue; }  allClassSet.add(classDescriptor); if (discoveredCodeBase.getCodeBase().isApplicationCodeBase()) { appClassList.add(classDescriptor); }  classPath.mapResourceNameToCodeBaseEntry(entry.getResourceName(), entry); } }
	public void build(IClassPath classPath) throws ResourceNotFoundException, IOException, InterruptedException {		processWorkList(classPath, projectWorkList);		processWorkList(classPath, buildSystemCodebaseList());				if (DEBUG) {			System.out.println("Classpath:");			dumpCodeBaseList(classPath.appCodeBaseIterator(), "Application codebases");			dumpCodeBaseList(classPath.auxCodeBaseIterator(), "Auxiliary codebases");		}	}