assign

abstract fun assign(objectConverter: TermToObjectConverter, propertyName: String, value: Term): Boolean

Assigns value (converted via objectConverter) to the mutable property named propertyName on this reference, selecting the overload whose type best matches value.

Return

true if the assignment was performed.

Throws

if no mutable property named propertyName accepts a value compatible with value.

if reflective access to the setter is denied by the runtime.


open fun assign(propertyName: String, value: Term): Boolean

Like assign, but converting value via TermToObjectConverter.default.