throws UnableToCompleteException {
for (OwnerField ownerField : getOwnerClass().getUiFields()) {
String fieldName = ownerField.getName();
FieldWriter fieldWriter = fieldManager.lookup(fieldName);
BundleAttributeParser bundleParser = bundleParsers.get(ownerField.getType());
if (bundleParser != null) {
// ownerField is a bundle resource.
maybeWriteFieldSetter(niceWriter, ownerField,
bundleParser.bundleClass(), bundleParser.bundleInstance());
} else if (fieldWriter != null) {
// ownerField is a widget.
JClassType type = fieldWriter.getInstantiableType();
if (type != null) {