setFieldValue

inline fun <T, V> T.setFieldValue(fieldName: String, value: V)

Updates the value of the field with the specified name to the given value. This involves temporarily setting the accessible flag to true.