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