mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
12 lines
231 B
Java
12 lines
231 B
Java
// "Convert field to local variable in method 'test'" "true-preview"
|
|
class Foo {
|
|
void test() {
|
|
class Bar {
|
|
|
|
void test() {
|
|
int x = 2; // could be local
|
|
System.out.println(x);
|
|
}
|
|
}
|
|
}
|
|
} |