Source:
public void onCreate ( com.android.ide.common.api.INode node , com.android.ide.common.api.INode parent , com.android.ide.common.api.InsertType insertType ) { super . onCreate ( node , parent , insertType ) ; if ( insertType == ( com.android.ide.common.api.InsertType.CREATE ) ) { com.android.ide.common.api.INode hint = node.appendChild ( com.android.ide.common.layout.LayoutConstants.FQCN_EDIT_TEXT ) ; hint.setAttribute ( com.android.ide.common.layout.LayoutConstants.ANDROID_URI , com.android.ide.common.layout.LayoutConstants.ATTR_TEXT , "Hint" ) ; hint.setAttribute ( com.android.ide.common.layout.LayoutConstants.ANDROID_URI , com.android.ide.common.layout.LayoutConstants.ATTR_ID , "@android:id/hint" ) ; hint.setAttribute ( com.android.ide.common.layout.LayoutConstants.ANDROID_URI , com.android.ide.common.layout.LayoutConstants.ATTR_LAYOUT_WIDTH , com.android.ide.common.layout.LayoutConstants.VALUE_FILL_PARENT ) ; com.android.ide.common.api.INode primary = node.appendChild ( com.android.ide.common.layout.LayoutConstants.FQCN_EDIT_TEXT ) ; primary.setAttribute ( com.android.ide.common.layout.LayoutConstants.ANDROID_URI , com.android.ide.common.layout.LayoutConstants.ATTR_TEXT , "Primary" ) ; primary.setAttribute ( com.android.ide.common.layout.LayoutConstants.ANDROID_URI , com.android.ide.common.layout.LayoutConstants.ATTR_ID , "@android:id/primary" ) ; primary.setAttribute ( com.android.ide.common.layout.LayoutConstants.ANDROID_URI , com.android.ide.common.layout.LayoutConstants.ATTR_LAYOUT_BELOW , "@android:id/hint" ) ; primary.setAttribute ( com.android.ide.common.layout.LayoutConstants.ANDROID_URI , com.android.ide.common.layout.LayoutConstants.ATTR_LAYOUT_WIDTH , com.android.ide.common.layout.LayoutConstants.VALUE_FILL_PARENT ) ; } }

Target:
public void onCreate ( com.android.ide.common.api.INode node , com.android.ide.common.api.INode parent , com.android.ide.common.api.InsertType insertType ) { super . onCreate ( node , parent , insertType ) ; if ( insertType == ( com.android.ide.common.api.InsertType.CREATE ) ) { java.lang.String fillParent = getFillParentValueName ( ) ; com.android.ide.common.api.INode hint = node.appendChild ( com.android.ide.common.layout.LayoutConstants.FQCN_EDIT_TEXT ) ; hint.setAttribute ( com.android.ide.common.layout.LayoutConstants.ANDROID_URI , com.android.ide.common.layout.LayoutConstants.ATTR_TEXT , "Hint" ) ; hint.setAttribute ( com.android.ide.common.layout.LayoutConstants.ANDROID_URI , com.android.ide.common.layout.LayoutConstants.ATTR_ID , "@android:id/hint" ) ; hint.setAttribute ( com.android.ide.common.layout.LayoutConstants.ANDROID_URI , com.android.ide.common.layout.LayoutConstants.ATTR_LAYOUT_WIDTH , fillParent ) ; com.android.ide.common.api.INode primary = node.appendChild ( com.android.ide.common.layout.LayoutConstants.FQCN_EDIT_TEXT ) ; primary.setAttribute ( com.android.ide.common.layout.LayoutConstants.ANDROID_URI , com.android.ide.common.layout.LayoutConstants.ATTR_TEXT , "Primary" ) ; primary.setAttribute ( com.android.ide.common.layout.LayoutConstants.ANDROID_URI , com.android.ide.common.layout.LayoutConstants.ATTR_ID , "@android:id/primary" ) ; primary.setAttribute ( com.android.ide.common.layout.LayoutConstants.ANDROID_URI , com.android.ide.common.layout.LayoutConstants.ATTR_LAYOUT_BELOW , "@android:id/hint" ) ; primary.setAttribute ( com.android.ide.common.layout.LayoutConstants.ANDROID_URI , com.android.ide.common.layout.LayoutConstants.ATTR_LAYOUT_WIDTH , fillParent ) ; } }