mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-08 21:52:48 +07:00
GitOrigin-RevId: c6cef9441121dd21705494933c00ca4e63d5fbf3
11 lines
240 B
Java
11 lines
240 B
Java
// "Replace 'i' with pattern variable" "false"
|
|
public class Example {
|
|
static void example(Object o) {
|
|
if (o instanceof Integer) {
|
|
o = ((Integer) o) + 1;
|
|
|
|
var <caret>i = (Integer) o;
|
|
System.out.println(i);
|
|
}
|
|
}
|
|
} |