correctly find usages of overridden Java method through synthetic accessors
#KT-12869 Fixed
This commit is contained in:
Vendored
+10
@@ -0,0 +1,10 @@
|
||||
// PSI_ELEMENT: com.intellij.psi.PsiMethod
|
||||
// OPTIONS: usages
|
||||
public interface AI {
|
||||
String <caret>getFoo();
|
||||
|
||||
public class A implements AI {
|
||||
@Override
|
||||
public String getFoo() {return "";}
|
||||
}
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
fun AI.A.bar() {
|
||||
getFoo() // Found
|
||||
foo // Not found
|
||||
}
|
||||
Vendored
+2
@@ -0,0 +1,2 @@
|
||||
Function call 2 getFoo() // Found
|
||||
Value read 3 foo // Not found
|
||||
Reference in New Issue
Block a user