diff options
Diffstat (limited to 'test/lombok/resource/before/SynchronizedPlain.java')
-rw-r--r-- | test/lombok/resource/before/SynchronizedPlain.java | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/test/lombok/resource/before/SynchronizedPlain.java b/test/lombok/resource/before/SynchronizedPlain.java new file mode 100644 index 00000000..6f5f3b64 --- /dev/null +++ b/test/lombok/resource/before/SynchronizedPlain.java @@ -0,0 +1,17 @@ +import lombok.Synchronized; +class SynchronizedPlain1 { + @lombok.Synchronized void test() { + System.out.println("one"); + } + @Synchronized void test2() { + System.out.println("two"); + } +} +class SynchronizedPlain2 { + @lombok.Synchronized static void test() { + System.out.println("three"); + } + @Synchronized static void test2() { + System.out.println("four"); + } +}
\ No newline at end of file |