String yString = getRectString(location.y);
// setRect(int,int,int,int)
{
MethodInvocation invocation = canvas.getMethodInvocation("setRect(int,int,int,int)");
if (invocation != null) {
editor.replaceInvocationArgument(invocation, 0, xString);
editor.replaceInvocationArgument(invocation, 1, yString);
return;
}
}
// moveTo(int,int)