aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok/SynchronizedNameStaticToInstanceRef.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource/after-delombok/SynchronizedNameStaticToInstanceRef.java')
-rw-r--r--test/transform/resource/after-delombok/SynchronizedNameStaticToInstanceRef.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/transform/resource/after-delombok/SynchronizedNameStaticToInstanceRef.java b/test/transform/resource/after-delombok/SynchronizedNameStaticToInstanceRef.java
new file mode 100644
index 00000000..8441570b
--- /dev/null
+++ b/test/transform/resource/after-delombok/SynchronizedNameStaticToInstanceRef.java
@@ -0,0 +1,9 @@
+class SynchronizedNameStaticToInstanceRef {
+ private Object read = new Object();
+ private static Object READ = new Object();
+ static void test3() {
+ synchronized (SynchronizedNameStaticToInstanceRef.read) {
+ System.out.println("three");
+ }
+ }
+} \ No newline at end of file