compileMoreLater.addValidUnit(validUnit);
// Report any existing errors as if the unit were recompiled.
CompilationUnitInvalidator.reportErrors(logger, validUnit);
} else {
// >>> XXX Instantiations
builders.add(new CachedResourceCompilationUnitBuilder(typeName, resource));
// <<< XXX Instantiations
}
}
compileMoreLater.compile(logger, builders, resultUnits);