IDEA-123870 Completion does not suggest expected methods after instanceof

This commit is contained in:
peter
2015-10-26 12:32:20 +01:00
parent 4cadf95f74
commit a14ad4d037
3 changed files with 26 additions and 3 deletions
@@ -0,0 +1,14 @@
public class Class2 {
void test(Object o) {
if (o instanceof B && ((A)o).a() && o.<caret>
}
}
interface A {
boolean a();
}
interface B extends A {
boolean b();
}