aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok/SynchronizedInAnonymousClass.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource/after-delombok/SynchronizedInAnonymousClass.java')
-rw-r--r--test/transform/resource/after-delombok/SynchronizedInAnonymousClass.java15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/transform/resource/after-delombok/SynchronizedInAnonymousClass.java b/test/transform/resource/after-delombok/SynchronizedInAnonymousClass.java
new file mode 100644
index 00000000..904487a3
--- /dev/null
+++ b/test/transform/resource/after-delombok/SynchronizedInAnonymousClass.java
@@ -0,0 +1,15 @@
+public class SynchronizedInAnonymousClass {
+ Object annonymous = new Object() {
+
+ class Inner {
+ @java.lang.SuppressWarnings("all")
+ private final java.lang.Object $lock = new java.lang.Object[0];
+
+ public void foo() {
+ synchronized (this.$lock) {
+ String foo = "bar";
+ }
+ }
+ }
+ };
+}