@@ -0,0 +1,683 @@
+package jp.gr.java_conf.daisy.ajax_mutator.mutator;%0A%0Aimport java.io.PrintStream;%0Aimport java.util.Collection;%0A%0Aimport org.mozilla.javascript.ast.AstNode;%0A%0Aimport jp.gr.java_conf.daisy.ajax_mutator.mutatable.EventAttachment;%0A%0Apublic class EventCallbackMutator extends AbstractMutator%3CEventAttachment%3E %7B%0A%09public EventCallbackMutator(%0A%09%09%09PrintStream stream, Collection%3CEventAttachment%3E eventAttachments) %7B%0A%09%09super(stream, eventAttachments);%0A%09%7D%0A%0A%09@Override%0A%09protected AstNode getFocusedNode(EventAttachment node) %7B%0A%09%09return node.getCallback();%0A%09%7D%0A%0A%09@Override%0A%09protected void replaceFocusedNodeOf(EventAttachment parent, AstNode newCallback) %7B%0A%09%09parent.replaceCallback(newCallback);%0A%09%7D%0A%7D%0A

add event callback mutator