SimplePropertySetter

PropertySetter implementation that modifies a Kotlin mutable property reflectively. This setter uses Kotlin reflection to set property values, automatically ensuring the property is accessible for private/protected properties.

Parameters

T

the type of the target object

V

the type of the property value

Constructors

Link copied to clipboard
constructor(property: KMutableProperty1<T, V>)

Functions

Link copied to clipboard
open operator override fun set(target: T, value: V)

Sets the property value on the target using reflection.