mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-05 08:06:56 +07:00
9 lines
216 B
Java
9 lines
216 B
Java
class SynchronizedNameStaticToInstanceRef {
|
|
private Object read = new Object();
|
|
private static Object READ = new Object();
|
|
|
|
@lombok.Synchronized("read") static void test3() {
|
|
System.out.println("three");
|
|
}
|
|
}
|