@Override
void exportPlain(ExportContext context, ObjId id, Object obj) {
final Method objSetter;
try {
objSetter = Util.findJFieldSetterMethod(obj.getClass(), obj.getClass().getMethod(this.getter.getName()));
} catch (Exception e) {
return;
}
final Object value = this.exportCoreValue(context,
context.getTransaction().getTransaction().readSimpleField(id, this.storageId, true));
try {
objSetter.invoke(obj, value);
} catch (RuntimeException e) {
throw e;
} catch (Exception e) {
throw new RuntimeException("failed to invoke setter method " + objSetter, e);
}
}