mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-21 21:50:54 +07:00
25 lines
279 B
Java
25 lines
279 B
Java
// "Move assignment to field declaration" "true"
|
|
|
|
class X {
|
|
Object f;
|
|
X() {
|
|
<caret>f = new Runnable() {
|
|
void x(int p) {
|
|
int f = p;
|
|
}
|
|
|
|
public void run() {
|
|
|
|
}
|
|
};
|
|
//
|
|
}
|
|
|
|
void x() {
|
|
int i = f;
|
|
}
|
|
|
|
void x2() {
|
|
f = 9;
|
|
}
|
|
} |