// Get root node from main DOM by calling dom.getIterator().next()
final int gitr = cpg.addInterfaceMethodref(DOM_INTF,
"getIterator", "()"+NODE_ITERATOR_SIG);
final int next = cpg.addInterfaceMethodref(NODE_ITERATOR,
"next", "()I");
il.append(toplevel.loadDOM());
il.append(new INVOKEINTERFACE(gitr, 1));
il.append(new INVOKEINTERFACE(next, 1));
il.append(new ISTORE(current.getIndex()));
// Create a new list containing variables/params + keys