Replace get() and set() to getValue() and setValue() (property delegates)
This commit is contained in:
+2
-2
@@ -1,9 +1,9 @@
|
||||
class TestDelegate() {
|
||||
fun get(thisRef: Any?, desc: PropertyMetadata): Int {
|
||||
fun getValue(thisRef: Any?, desc: PropertyMetadata): Int {
|
||||
return 10
|
||||
}
|
||||
|
||||
public open fun set(thisRef: Any?, desc: PropertyMetadata, svalue : Int) {
|
||||
public open fun setValue(thisRef: Any?, desc: PropertyMetadata, svalue : Int) {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user