/**
  * Constructor
  *
  * @param root root node of the recorded ast.
  */
 public InternalASTRewrite(CompilationUnit root) {
   this.root = root;
   this.eventStore = new RewriteEventStore();
   this.nodeStore = new NodeInfoStore(root.getAST());
   this.clonedNodes = new Hashtable();
 }