Call Hierarchy: Show Kotlin usages of Java methods
#KT-12398 Fixed
This commit is contained in:
+5
@@ -0,0 +1,5 @@
|
||||
<node text="J.foo() ()" base="true">
|
||||
<node text="A(2 usages) ()"/>
|
||||
<node text="Main1Kt.test(J) ()"/>
|
||||
<node text="Main1Kt ()"/>
|
||||
</node>
|
||||
@@ -0,0 +1,5 @@
|
||||
public class J {
|
||||
public int <caret>foo() {
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
class A {
|
||||
val x = J().foo()
|
||||
|
||||
init {
|
||||
J().foo()
|
||||
}
|
||||
}
|
||||
|
||||
val y = J().foo()
|
||||
|
||||
fun test(j: J) = j.foo()
|
||||
Reference in New Issue
Block a user