subchange.setEdit(rootEdit);
change.add(subchange);
}
private void classifyModifications() {
final ASTModificationMap rootModifications = modificationStore.getRootModifications();
if (rootModifications == null) {
return;
}
for (final IASTNode node : rootModifications.getModifiedNodes()) {
final List<ASTModification> modifications = rootModifications.getModificationsForNode(node);
for (final ASTModification modification : modifications) {
Map<ModificationKind, List<ASTModification>> map = classifiedModifications.get(node);
if (map == null) {
map = new TreeMap<ModificationKind, List<ASTModification>>();
classifiedModifications.put(node, map);