"introduce backing property" intention

This commit is contained in:
Dmitry Jemerov
2015-09-23 22:00:36 +02:00
parent dadef12723
commit e1acc8744d
27 changed files with 337 additions and 4 deletions
@@ -0,0 +1,8 @@
class Foo {
private var <spot>_x</spot> = ""
var x: String
get() = _x
set(value) {
_x = value
}
}
@@ -0,0 +1,3 @@
class Foo {
var <spot>x</spot> = ""
}
@@ -0,0 +1,5 @@
<html>
<body>
This intention creates a backing property for the specified property.
</body>
</html>