if (!locationSet && !force_setWidgetPosition) {
for (MethodInvocation invocation : getInvocations("add(%widget%)", widget)) {
AstEditor editor = getEditor();
String argsSource = editor.getSource(DomGenerics.arguments(invocation).get(0));
argsSource += xyString;
editor.replaceInvocationArguments(invocation, ImmutableList.of(argsSource));
locationSet = true;
// related nodes
addRelatedNodes(invocation);
widget.addRelatedNodes(invocation);
}