Call Hierarchy: Refactoring

Do not rely on light methods to search usages as some elements
don't have them (e.g. local functions)

 #KT-9288 Fixed
 #KT-14428 Fixed
This commit is contained in:
Alexey Sedunov
2017-06-15 17:22:18 +03:00
parent 0c2ea5d799
commit 10941ae732
24 changed files with 566 additions and 743 deletions
@@ -0,0 +1,5 @@
<node text="foo() ()" base="true">
<node text="bar() ()">
<node text="baz() ()"/>
</node>
</node>
@@ -0,0 +1,11 @@
fun <caret>foo() = 1
fun bar() {
val x = fun () {
val y = foo()
}
}
fun baz() {
bar()
}
@@ -0,0 +1,5 @@
<node text="foo() ()" base="true">
<node text="bar() ()">
<node text="baz() ()"/>
</node>
</node>
@@ -0,0 +1,11 @@
fun <caret>foo() = 1
fun bar() {
val x = {
val y = foo()
}
}
fun baz() {
bar()
}