Source:
private com.android.ide.eclipse.adt.internal.editors.layout.descriptors.ViewElementDescriptor createFragment ( com.android.ide.eclipse.adt.internal.editors.descriptors.AttributeDescriptor [ ] viewLayoutAttribs , java.util.Map < java.lang.String , com.android.ide.common.resources.platform.DeclareStyleableInfo > styleMap ) { java.lang.String xml_name = com.android.ide.eclipse.adt.internal.editors.layout.descriptors.LayoutDescriptors.VIEW_FRAGMENT ; final com.android.ide.eclipse.adt.internal.editors.layout.descriptors.ViewElementDescriptor descriptor ; com.android.ide.common.resources.platform.DeclareStyleableInfo style = styleMap.get ( "Fragment" ) ; java.lang.String fragmentTooltip = "A Fragment is a piece of an application's user interface or behavior that " + "can be placed in an Activity" ; java.lang.String sdkUrl = "http://developer.android.com/guide/topics/fundamentals/fragments.html" ; com.android.ide.eclipse.adt.internal.editors.manifest.descriptors.ClassAttributeDescriptor classAttribute = new com.android.ide.eclipse.adt.internal.editors.manifest.descriptors.ClassAttributeDescriptor ( null , com.android.ide.common.layout.LayoutConstants.ATTR_CLASS , com.android.ide.common.layout.LayoutConstants.ATTR_CLASS , null , "Supply the name of the fragment class to instantiate" , new com.android.ide.common.resources.platform.AttributeInfo ( com.android.ide.common.layout.LayoutConstants.ATTR_CLASS , new com.android.ide.common.api.IAttributeInfo.Format [ ] { com.android.ide.common.api.IAttributeInfo.Format.STRING } ) , true ) ; if ( style != null ) { descriptor = new com.android.ide.eclipse.adt.internal.editors.layout.descriptors.ViewElementDescriptor ( com.android.ide.eclipse.adt.internal.editors.layout.descriptors.LayoutDescriptors.VIEW_FRAGMENT , com.android.ide.eclipse.adt.internal.editors.layout.descriptors.LayoutDescriptors.VIEW_FRAGMENT , com.android.ide.eclipse.adt.internal.editors.layout.descriptors.LayoutDescriptors.VIEW_FRAGMENT , fragmentTooltip , sdkUrl , null , viewLayoutAttribs , null , false ) ; java.util.ArrayList < com.android.ide.eclipse.adt.internal.editors.descriptors.AttributeDescriptor > descs = new java.util.ArrayList < com.android.ide.eclipse.adt.internal.editors.descriptors.AttributeDescriptor > ( ) ; descs.add ( classAttribute ) ; com.android.ide.eclipse.adt.internal.editors.descriptors.DescriptorsUtils.appendAttributes ( descs , null , SdkConstants.NS_RESOURCES , style.getAttributes ( ) , null , null ) ; descriptor.setAttributes ( descs.toArray ( new com.android.ide.eclipse.adt.internal.editors.descriptors.AttributeDescriptor [ descs.size ( ) ] ) ) ; } else { descriptor = new com.android.ide.eclipse.adt.internal.editors.layout.descriptors.ViewElementDescriptor ( xml_name , xml_name , xml_name , fragmentTooltip , sdkUrl , new com.android.ide.eclipse.adt.internal.editors.descriptors.AttributeDescriptor [ ] { new com.android.ide.eclipse.adt.internal.editors.manifest.descriptors.ClassAttributeDescriptor ( null , com.android.ide.common.layout.LayoutConstants.ATTR_NAME , com.android.ide.common.layout.LayoutConstants.ATTR_NAME , com.android.ide.common.layout.LayoutConstants.ANDROID_URI , "Supply the name of the fragment class to instantiate" , new com.android.ide.common.resources.platform.AttributeInfo ( com.android.ide.common.layout.LayoutConstants.ATTR_NAME , new com.android.ide.common.api.IAttributeInfo.Format [ ] { com.android.ide.common.api.IAttributeInfo.Format.STRING } ) , true ) , classAttribute , new com.android.ide.eclipse.adt.internal.editors.manifest.descriptors.ClassAttributeDescriptor ( null , com.android.ide.common.layout.LayoutConstants.ATTR_TAG , com.android.ide.common.layout.LayoutConstants.ATTR_TAG , com.android.ide.common.layout.LayoutConstants.ANDROID_URI , "Supply a tag for the top-level view containing a String" , new com.android.ide.common.resources.platform.AttributeInfo ( com.android.ide.common.layout.LayoutConstants.ATTR_TAG , new com.android.ide.common.api.IAttributeInfo.Format [ ] { com.android.ide.common.api.IAttributeInfo.Format.STRING } ) , true ) } , viewLayoutAttribs , null , false ) ; } return descriptor ; }

Target:
private com.android.ide.eclipse.adt.internal.editors.layout.descriptors.ViewElementDescriptor createFragment ( com.android.ide.eclipse.adt.internal.editors.descriptors.AttributeDescriptor [ ] viewLayoutAttribs , java.util.Map < java.lang.String , com.android.ide.common.resources.platform.DeclareStyleableInfo > styleMap ) { java.lang.String xmlName = com.android.ide.eclipse.adt.internal.editors.layout.descriptors.LayoutDescriptors.VIEW_FRAGMENT ; final com.android.ide.eclipse.adt.internal.editors.layout.descriptors.ViewElementDescriptor descriptor ; com.android.ide.common.resources.platform.DeclareStyleableInfo style = styleMap.get ( "Fragment" ) ; java.lang.String fragmentTooltip = "A Fragment is a piece of an application's user interface or behavior that " + "can be placed in an Activity" ; java.lang.String sdkUrl = "http://developer.android.com/guide/topics/fundamentals/fragments.html" ; com.android.ide.eclipse.adt.internal.editors.manifest.descriptors.ClassAttributeDescriptor classAttribute = new com.android.ide.eclipse.adt.internal.editors.manifest.descriptors.ClassAttributeDescriptor ( null , com.android.ide.common.layout.LayoutConstants.ATTR_CLASS , com.android.ide.common.layout.LayoutConstants.ATTR_CLASS , null , "Supply the name of the fragment class to instantiate" , new com.android.ide.common.resources.platform.AttributeInfo ( com.android.ide.common.layout.LayoutConstants.ATTR_CLASS , new com.android.ide.common.api.IAttributeInfo.Format [ ] { com.android.ide.common.api.IAttributeInfo.Format.STRING } ) , true ) ; if ( style != null ) { descriptor = new com.android.ide.eclipse.adt.internal.editors.layout.descriptors.ViewElementDescriptor ( com.android.ide.eclipse.adt.internal.editors.layout.descriptors.LayoutDescriptors.VIEW_FRAGMENT , com.android.ide.eclipse.adt.internal.editors.layout.descriptors.LayoutDescriptors.VIEW_FRAGMENT , com.android.ide.eclipse.adt.internal.editors.layout.descriptors.LayoutDescriptors.VIEW_FRAGMENT , fragmentTooltip , sdkUrl , null , viewLayoutAttribs , null , false ) ; java.util.ArrayList < com.android.ide.eclipse.adt.internal.editors.descriptors.AttributeDescriptor > descs = new java.util.ArrayList < com.android.ide.eclipse.adt.internal.editors.descriptors.AttributeDescriptor > ( ) ; descs.add ( classAttribute ) ; com.android.ide.eclipse.adt.internal.editors.descriptors.DescriptorsUtils.appendAttributes ( descs , null , SdkConstants.NS_RESOURCES , style.getAttributes ( ) , null , null ) ; descriptor.setAttributes ( descs.toArray ( new com.android.ide.eclipse.adt.internal.editors.descriptors.AttributeDescriptor [ descs.size ( ) ] ) ) ; } else { descriptor = new com.android.ide.eclipse.adt.internal.editors.layout.descriptors.ViewElementDescriptor ( xmlName , xmlName , xmlName , fragmentTooltip , sdkUrl , new com.android.ide.eclipse.adt.internal.editors.descriptors.AttributeDescriptor [ ] { new com.android.ide.eclipse.adt.internal.editors.manifest.descriptors.ClassAttributeDescriptor ( null , com.android.ide.common.layout.LayoutConstants.ATTR_NAME , com.android.ide.common.layout.LayoutConstants.ATTR_NAME , com.android.ide.common.layout.LayoutConstants.ANDROID_URI , "Supply the name of the fragment class to instantiate" , new com.android.ide.common.resources.platform.AttributeInfo ( com.android.ide.common.layout.LayoutConstants.ATTR_NAME , new com.android.ide.common.api.IAttributeInfo.Format [ ] { com.android.ide.common.api.IAttributeInfo.Format.STRING } ) , true ) , classAttribute , new com.android.ide.eclipse.adt.internal.editors.manifest.descriptors.ClassAttributeDescriptor ( null , com.android.ide.common.layout.LayoutConstants.ATTR_TAG , com.android.ide.common.layout.LayoutConstants.ATTR_TAG , com.android.ide.common.layout.LayoutConstants.ANDROID_URI , "Supply a tag for the top-level view containing a String" , new com.android.ide.common.resources.platform.AttributeInfo ( com.android.ide.common.layout.LayoutConstants.ATTR_TAG , new com.android.ide.common.api.IAttributeInfo.Format [ ] { com.android.ide.common.api.IAttributeInfo.Format.STRING } ) , true ) } , viewLayoutAttribs , null , false ) ; } return descriptor ; }