refactorer.calculateModifications(messageLogger);
if (messageLogger.getNErrors() == 0) {
// apply the changes, unless we encountered errors while calculating them
refactorer.apply(messageLogger);
}
if (messageLogger.getNErrors() > 0) {
dumpCompilerMessages(messageLogger);
return;