class C { var x = "" set(value) { println("setter invoked") field = value } }