for (Iterator iter = cudsByFileName.values().iterator(); iter.hasNext();) {
CompilationUnitDeclaration cud = (CompilationUnitDeclaration) iter.next();
// If we've seen this compilation unit before, the type oracle will
// tell us about it and so we don't assimilate it again.
//
ICompilationUnit unit = cud.compilationResult.compilationUnit;
ICompilationUnitAdapter adapter = ((ICompilationUnitAdapter) unit);
CompilationUnitProvider cup = adapter.getCompilationUnitProvider();
JClassType[] seen = oracle.getTypesInCompilationUnit(cup);
if (seen.length > 0) {
// This compilation unit has already been assimilated.