throws UnableToCompleteException {
for (OwnerField ownerField : getOwnerClass().getUiFields()) {
String fieldName = ownerField.getName();
FieldWriter fieldWriter = fieldManager.lookup(fieldName);
BundleAttributeParser bundleParser = bundleParsers.get(ownerField.getType().getRawType().getQualifiedSourceName());
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.getType();
if (type != null) {