if ((invocation = getWidgetInvocation(widget, "setWidgetRightWidth")) != null) {
if (anchor == Anchor.NONE) {
editor.removeEnclosingStatement(invocation);
}
if (anchor == Anchor.LEADING) {
int left = bounds.left();
editor.replaceInvocationName(invocation, "setWidgetLeftWidth");
setInvocationArgument(invocation, 1, left, true);
}
if (anchor == Anchor.BOTH) {
editor.replaceInvocationName(invocation, "setWidgetLeftRight");