mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-18 00:20:54 +07:00
13 lines
260 B
Java
13 lines
260 B
Java
// "Insert '(String)o' declaration" "true-preview"
|
|
class X {
|
|
void foo(Object o) {
|
|
if (o instanceof String) {
|
|
String a;
|
|
String b;
|
|
String s = (String) o;
|
|
<caret>
|
|
|
|
String c;
|
|
}
|
|
}
|
|
} |