Smart step into for constructors

This commit is contained in:
Natalia Ukhorskaya
2015-11-25 17:10:36 +03:00
parent 062b27995c
commit 9bcc9e4b1d
5 changed files with 71 additions and 18 deletions
+44
View File
@@ -0,0 +1,44 @@
fun foo() {
println("${A()} ${B()} ${C(1)} ${D()} ${E(1)} ${F()} ${G()} ${J()} ${K(1)} ${L()}")<caret>
}
class A
class B()
class C(val a: Int)
class D {
constructor()
}
class E {
constructor(i: Int)
}
class F {
constructor() {
}
}
class G {
constructor(i: Int) {
}
}
class J {
init {
}
}
class K(val a: Int) {
init {
}
}
class L {
constructor() {
}
init {
}
}
// EXISTS: println(Any?), constructor B(), constructor C(Int), constructor D(), constructor E(Int), constructor F(), constructor G(Int), constructor J(), constructor K(Int), constructor L()