mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-12 19:06:35 +07:00
GitOrigin-RevId: 4a9f84d48d5fea93696262df333f6964c89cf757
16 lines
329 B
Java
16 lines
329 B
Java
public class DuplicateWithAnonymousFieldReference {
|
|
|
|
void test(){
|
|
Runnable task = new Runnable() {
|
|
@Override
|
|
public void run() {
|
|
<selection>System.out.println(myField);</selection>
|
|
|
|
System.out.println(myField);
|
|
}
|
|
|
|
final int myField = 42;
|
|
};
|
|
}
|
|
}
|