JsonArray<Jso> arguments = JsonCollections.createArray();
arguments.add(Jso.create());
arguments.add(Jso.create());
arguments.get(0).addField("value", oldName);
arguments.get(1).addField("value", newName);
params.addField("arguments", arguments);
sendCustomEvent(sessionId, METHOD_RUNTIME_CALL_FUNCTION_ON, params, new Callback() {
@Override
public void run(ExtensionResponse response) {
boolean isError = response.isError() || !DebuggerApiUtils.castToBoolean(