* @param replaceThisNode The node to replace.
* @param replaceWith What to replace with.
*/
public static void process(TreeNode rootNode, TreeNode replaceThisNode, TreeNode replaceWith) {
TaskReplaceNode task = new TaskReplaceNode(replaceThisNode, replaceWith);
DepthFirstTraversal trav = new DepthFirstTraversal();
trav.traverse(rootNode, task);
}