mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-23 16:20:55 +07:00
16 lines
293 B
Java
16 lines
293 B
Java
public class AnonField {
|
|
private String xxx;
|
|
|
|
public static void main(String[] args) {
|
|
new AnonField().foo();
|
|
}
|
|
void foo() {
|
|
String xxx = "local";
|
|
new AnonField() {
|
|
@Override
|
|
public void foo() {
|
|
System.out.println(<caret>xxx);
|
|
}
|
|
}.foo();
|
|
}
|
|
} |