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,10 @@
class A(val n: Int) {
fun foo(i: Int, a: A) {}
}
fun test() {
var a = A(1)
a.foo(2, A(2))
a.foo(2, A(2))
a[2]
}
@@ -0,0 +1,10 @@
class A(val n: Int) {
fun set(i: Int, a: A) {}
}
fun test() {
var a = A(1)
a.set(2, A(2))
a[2] = A(2)
a[2]
}
@@ -0,0 +1,7 @@
{
"type": "KOTLIN_FUNCTION",
"classFQN": "A",
"oldName": "set",
"newName": "foo",
"mainFile": "set.kt"
}