mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 07:20:53 +07:00
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;
|
|
}
|
|
} |