mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 03:13:40 +07:00
IDEA-169269 "Analyze dataflow to here" should process only implementations of current class when analyzing return values for a method call in instance method
This commit is contained in:
+21
@@ -0,0 +1,21 @@
|
||||
interface I {
|
||||
String getValue();
|
||||
}
|
||||
|
||||
abstract class X implements I {
|
||||
void foo() {
|
||||
String <caret>s = <flown1>getValue();
|
||||
}
|
||||
}
|
||||
|
||||
class Y implements I {
|
||||
public String getValue() {
|
||||
return "Y";
|
||||
}
|
||||
}
|
||||
|
||||
class Impl extends X {
|
||||
public String getValue() {
|
||||
return <flown11>"Impl";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user