diff options
Diffstat (limited to 'test/transform/resource/before/SynchronizedOnStatic.java')
-rw-r--r-- | test/transform/resource/before/SynchronizedOnStatic.java | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/test/transform/resource/before/SynchronizedOnStatic.java b/test/transform/resource/before/SynchronizedOnStatic.java new file mode 100644 index 00000000..23c4818d --- /dev/null +++ b/test/transform/resource/before/SynchronizedOnStatic.java @@ -0,0 +1,16 @@ +class SynchronizedOnStatic<Z> { + static class Inner { + private static Object LCK = new Object[0]; + @lombok.Synchronized("LCK") + public void foo() { + System.out.println(); + } + } + class Inner2 { + private Object LCK = new Object[0]; + @lombok.Synchronized("LCK") + public void foo() { + System.out.println(); + } + } +} |