Implemented "Change signature" refactoring

This commit is contained in:
Alexander Kirillin
2013-04-25 20:45:35 +04:00
parent 500a165191
commit 0a597e563a
62 changed files with 2671 additions and 45 deletions
@@ -0,0 +1,14 @@
open class C0(val x: Any?) {}
open class C1 protected (val x1: Int = 1, var x2: Float, x3: ((Int) -> Int)?) : C0(x3){
fun bar() {
val y1 = x1;
val y2 = x2;
}
}
class C2 : C1(1, 2.5, null<caret>) {
fun foo() {
var c = C1(2, 3.5, null);
c = C1(x1 = 2, x2 = 3.5, x3 = null);
}
}