mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-10 09:39:37 +07:00
12 lines
193 B
Java
12 lines
193 B
Java
// "Insert '(String)x' declaration" "true-preview"
|
|
|
|
class C {
|
|
Object s = new Object();
|
|
|
|
void x() {
|
|
if (x instanceof String) {
|
|
String s1 = (String) x;
|
|
<caret>
|
|
}
|
|
}
|
|
} |