// Suppress nested INVERSE ONE_TO_ONE, to avoid recursion
if (TRUE.equals(attributes.get(ONE_TO_ONE)) && attributes.containsKey(INVERSE_RELATIONSHIP)
&& metawidget.getParent() != null)
{
return new StaticXmlStub();
}
String type = WidgetBuilderUtils.getActualClassOrType(attributes);
if (WidgetBuilderUtils.isReadOnly(attributes))