aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before/SynchronizedInAnonymousClass.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource/before/SynchronizedInAnonymousClass.java')
-rw-r--r--test/transform/resource/before/SynchronizedInAnonymousClass.java12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/transform/resource/before/SynchronizedInAnonymousClass.java b/test/transform/resource/before/SynchronizedInAnonymousClass.java
new file mode 100644
index 00000000..11c623ce
--- /dev/null
+++ b/test/transform/resource/before/SynchronizedInAnonymousClass.java
@@ -0,0 +1,12 @@
+import lombok.Synchronized;
+
+public class SynchronizedInAnonymousClass {
+ Object annonymous = new Object() {
+ class Inner {
+ @Synchronized
+ public void foo() {
+ String foo = "bar";
+ }
+ }
+ };
+} \ No newline at end of file