Block lastBody = last.getBody();
boolean changedOne = false;
if (!lastBody.children().isEmpty()) {
// Eliminate trailing break statement.
List<? extends Statement> stmts = lastBody.children();
int n = stmts.size();
if (n > 0 && isBlankBreak(stmts.get(n - 1))) {
stmts = stmts.subList(0, n - 1);
Block newBody = new Block(lastBody.getFilePosition(), stmts);
newChildren.set(newChildren.size() - 1, withBody(last, newBody));