Find Usages: Include super declarations when highliting usages in the current file
This commit is contained in:
committed by
Alexey Sedunov
parent
9c360ef05a
commit
ad0c12935b
+17
@@ -0,0 +1,17 @@
|
||||
// PSI_ELEMENT: org.jetbrains.kotlin.psi.KtNamedFunction
|
||||
// OPTIONS: usages, skipImports
|
||||
// HIGHLIGHTING
|
||||
|
||||
open class A : I {
|
||||
open fun foo() {}
|
||||
}
|
||||
|
||||
class B: A() {
|
||||
override fun <caret>foo() {}
|
||||
}
|
||||
|
||||
fun test(i: I) {
|
||||
i.foo()
|
||||
A().foo()
|
||||
B().foo()
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
interface I {
|
||||
void foo();
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
Function call (14: 7) i.foo()
|
||||
Function call (15: 9) A().foo()
|
||||
Function call (16: 9) B().foo()
|
||||
Reference in New Issue
Block a user