// returns true if change sbool _cSmartSetField(Concept c, S field, O value) ctex { Field f = setOpt_findField(c.getClass(), field); if (f != null && value != null) { Class type = primitiveToBoxedTypeOpt(f.getType()); if (type == Int.class && !value instanceof Int) { if (!setField_trueIfChanged(f, c, toInt(trimIfString(value)))) false; if (!isTransient(f)) c.change(); true; } } ret _csetField(c, field, value); }