workList.add(new WorkListItem(nestedArchiveLocator, codeBase.isApplicationCodeBase()));
addToWorkList(workList, new WorkListItem(nestedArchiveLocator, codeBase.isApplicationCodeBase()));
	private void scanCodebase(LinkedList<WorkListItem> workList, IScannableCodeBase codeBase)			throws InterruptedException {		if (DEBUG) {			System.out.println("Scanning " + codeBase.getCodeBaseLocator());		}		ICodeBaseIterator i = codeBase.iterator();		while (i.hasNext()) {			ICodeBaseEntry entry = i.next();			if (DEBUG) {				System.out.println("Entry: " + entry.getResourceName());			}			// Add nested archives to the worklist			if (Archive.isArchiveFileName(entry.getResourceName())) {				if (DEBUG) {					System.out.println("Entry is an archive!");				}				ICodeBaseLocator nestedArchiveLocator =					classFactory.createNestedArchiveCodeBaseLocator(codeBase, entry.getResourceName());				workList.add(new WorkListItem(nestedArchiveLocator, codeBase.isApplicationCodeBase()));			}						// Make a note of classes in application codebases			if (codeBase.isApplicationCodeBase()					&& ClassDescriptor.isClassResource(entry.getResourceName())) {				appClassList.add(ClassDescriptor.fromResourceName(entry.getResourceName()));			}		}	}