mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-04 06:32:48 +07:00
GitOrigin-RevId: 7f72c5f68ab821e728eb0d5152f0910f48035046
7 lines
186 B
Java
7 lines
186 B
Java
// "Assert 'obj instanceof String'" "true-preview"
|
|
class X {
|
|
void test(Object obj) {
|
|
if (obj instanceof Integer) System.out.println();
|
|
String string = (<caret>String)obj;
|
|
}
|
|
} |