Files
Rustam Vishnyakovandintellij-monorepo-bot 123242c4b2 EditorConfig documentation test
GitOrigin-RevId: fd52ace3d7a32ecd02c2c5ab90e077967604c15e
2019-06-16 04:03:21 +03:00

14 lines
372 B
Java

/*
Cast may fail ((Integer)x; line#12)
An execution might exist where:
An object type is exactly String which is not a subtype of Integer (x; line#12)
Type of 'x' is known from line #10 (x instanceof String; line#10)
*/
class Test {
void test(Object x) {
if (x instanceof String) {
}
System.out.println(<selection>(Integer)x</selection>);
}
}