Rename: Initial support of naming conventions

This commit is contained in:
Alexey Sedunov
2014-08-07 14:32:19 +04:00
parent d226a11c8e
commit 67606c55e7
53 changed files with 804 additions and 158 deletions
@@ -0,0 +1,8 @@
data class A(val foo: Int, val s: String, val o: Any)
fun test() {
val a = A(1, "2", Any())
a.foo
a.component1()
val (x, y, z) = a
}
@@ -0,0 +1,8 @@
data class A(val n: Int, val s: String, val o: Any)
fun test() {
val a = A(1, "2", Any())
a.n
a.component1()
val (x, y, z) = a
}
@@ -0,0 +1,7 @@
{
"type": "KOTLIN_PROPERTY",
"classFQN": "A",
"oldName": "n",
"newName": "foo",
"mainFile": "synthesizedComponentFunction.kt"
}