mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-20 11:50:57 +07:00
13 lines
245 B
Java
13 lines
245 B
Java
// "Convert field to local variable in method 'test'" "true-preview"
|
|
class Foo {
|
|
void test() {
|
|
class Bar {
|
|
private int <caret>x;
|
|
|
|
void test() {
|
|
x = 2; // could be local
|
|
System.out.println(x);
|
|
}
|
|
}
|
|
}
|
|
} |