blob: 9b72c3b86dce9dfe4faea54ef5d1ae17a67bae95 [file]
/*
Value is always false (s instanceof String; line#12)
An object is known to be Number which is definitely incompatible with String (s; line#12)
Type of 's' is known from line #10 (s instanceof Number; line#10)
*/
import java.util.List;
class Test {
void test(Object s) {
if (s instanceof Number) {
if (s instanceof Integer) {
if (<selection>s instanceof String</selection>){
}
}
}
}
}