uhe
08/04/2016, 12:55 PMclass Foo {
var foo: String by wrap(PrintIt()) {
get {
println("wrapped get, fromDelegate: $it")
return@get "wrappedGet - $it"
}
set {
println("wrapped set, originalValue: $it")
return@set "wrappedSet - $it"
}
}
}