KT-3503 Can't navigate to implementation of kotlin functions
#KT-3503 Fixed
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
package testing
|
||||
|
||||
open class Base {
|
||||
open fun <caret>test() {
|
||||
}
|
||||
}
|
||||
|
||||
open class SubBase: Base() {
|
||||
override fun test() {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
class SubSubBase: SubBase() {
|
||||
override fun test() {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// REF: (in testing.SubBase).test()
|
||||
// REF: (in testing.SubSubBase).test()
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
package testing.jj;
|
||||
|
||||
public class JavaBase extends testing.kt.KotlinBase {
|
||||
@Override
|
||||
public void test() {
|
||||
}
|
||||
}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
package testing.kt
|
||||
|
||||
open class KotlinBase {
|
||||
open fun <caret>test() {}
|
||||
}
|
||||
|
||||
// REF: (in testing.jj.JavaBase).test()
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
public class BaseJava {
|
||||
public void testMethod() {
|
||||
|
||||
}
|
||||
}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
package testing.kt
|
||||
|
||||
class TestFromJava() : BaseJava() {
|
||||
override fun testMethod() {
|
||||
}
|
||||
}
|
||||
|
||||
fun test() {
|
||||
BaseJava().testMethod<caret>()
|
||||
}
|
||||
|
||||
// REF: (in testing.kt.TestFromJava).testMethod()
|
||||
// REF: (in BaseJava).testMethod()
|
||||
Reference in New Issue
Block a user