orangy
class SimpleLongProperty {
fun get() : Long = TODO()
fun set(value: Long) = TODO()
}
class X {
private var id: Long by SimpleLongProperty()
}
operator fun SimpleLongProperty.getValue(thisRef: Any?, property: KProperty<*>): Long {
return this.get()
}
operator fun SimpleLongProperty.setValue(thisRef: Any?, property: KProperty<*>, value: Long) {
this.set(value)
}