private void revertListWithRanges(RewriteEvent[] childEvents,
Set placeholders, List revertedChildren) {
for (int i = 0; i < childEvents.length; i++) {
RewriteEvent event = childEvents[i];
ASTNode node = (ASTNode) event.getOriginalValue();
if (placeholders.contains(node)) {
RewriteEvent[] placeholderChildren = getListEvent(node,
Block.STATEMENTS_PROPERTY, false).getChildren();
revertListWithRanges(placeholderChildren, placeholders,
revertedChildren);