When invoking Find Usages on a method which is sibling-inherited, include the method itself (along with found super-sibling) to the primary elements because otherwise it can't sometimes be found by super-sibling alone.

GitOrigin-RevId: 2be6da78182c7b52527eaa7df5f64b8522d94bee
This commit is contained in:
Alexey Kudravtsev
2019-04-28 14:16:24 +03:00
committed by intellij-monorepo-bot
parent 40b8168ff2
commit 28541d269e
3 changed files with 49 additions and 7 deletions
@@ -0,0 +1,18 @@
interface WatchNode {
void setObsolete();
}
abstract class XValueContainerNode {
public void setObsolete() {
}
}
class WatchNodeImpl extends XValueContainerNode implements WatchNode {
}
class Use {
void fff(XValueContainerNode node) {
node.setObsolete();
}
}