mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-07 06:01:00 +07:00
GitOrigin-RevId: fd52ace3d7a32ecd02c2c5ab90e077967604c15e
17 lines
445 B
Java
17 lines
445 B
Java
/*
|
|
Value is always false (s instanceof String; line#12)
|
|
An object is known to be not CharSequence which is a supertype of String (s; line#12)
|
|
Type of 's' is known from line #10 (s instanceof CharSequence; line#10)
|
|
*/
|
|
import java.util.List;
|
|
|
|
class Test {
|
|
void test(Object s) {
|
|
if (!(s instanceof CharSequence)) {
|
|
if (s instanceof Integer) {
|
|
if (<selection>s instanceof String</selection>){
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |