5455565758596061
* @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(); }
144145146147148149150
* @param ast the AST being rewritten */ protected ASTRewrite(AST ast) { this.ast= ast; this.eventStore= new RewriteEventStore(); this.nodeStore= new NodeInfoStore(ast); }