aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-ecj/SynchronizedNameNoSuchField.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource/after-ecj/SynchronizedNameNoSuchField.java')
-rw-r--r--test/transform/resource/after-ecj/SynchronizedNameNoSuchField.java12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/transform/resource/after-ecj/SynchronizedNameNoSuchField.java b/test/transform/resource/after-ecj/SynchronizedNameNoSuchField.java
new file mode 100644
index 00000000..7c78b945
--- /dev/null
+++ b/test/transform/resource/after-ecj/SynchronizedNameNoSuchField.java
@@ -0,0 +1,12 @@
+class SynchronizedNameNoSuchField {
+ private Object read = new Object();
+ private static Object READ = new Object();
+ <clinit>() {
+ }
+ SynchronizedNameNoSuchField() {
+ super();
+ }
+ @lombok.Synchronized("write") void test2() {
+ System.out.println("two");
+ }
+}