Replace get() and set() to getValue() and setValue() (property delegates)

This commit is contained in:
Yan Zhulanow
2015-10-05 20:18:58 +03:00
parent 2fee9d362c
commit 1f2b4e20fe
295 changed files with 718 additions and 511 deletions
@@ -2,10 +2,10 @@
class ValueWrapper()
{
var value: Int = 0
var backingValue: Int = 0
fun get() = value
fun set(v: Int) { value = v }
fun getValue() = backingValue
fun setValue(v: Int) { backingValue = v }
}
val foo by <!DELEGATE_SPECIAL_FUNCTION_NONE_APPLICABLE!>ValueWrapper()<!>