IDEA-86242 Code completion do not suggest members of known common supertype

This commit is contained in:
Tagir Valeev
2018-03-28 10:33:02 +07:00
parent 00d01b6ab8
commit c7f7093a96
8 changed files with 78 additions and 44 deletions
@@ -0,0 +1,11 @@
import java.math.BigInteger;
import java.util.function.Function;
class Test {
long test(Object obj) {
if (obj instanceof Integer || obj instanceof Long) {
obj.long<caret>
}
return -1;
}
}