if (!uncommittedGeneratedCupsByPrintWriter.isEmpty()) {
String msg = "For the following type(s), generated source was never committed (did you forget to call commit()?)";
logger = logger.branch(TreeLogger.WARN, msg, null);
for (Iterator iter = uncommittedGeneratedCupsByPrintWriter.values().iterator(); iter.hasNext();) {
StaticCompilationUnitProvider cup = (StaticCompilationUnitProvider) iter.next();
String typeName = cup.getPackageName() + "." + cup.getTypeName();
logger.log(TreeLogger.WARN, typeName, null);
}
}
uncommittedGeneratedCupsByPrintWriter.clear();