aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-ecj/SynchronizedNameStaticToInstanceRef.java
blob: 103c714c6db2c024d63b8c53bfc00945da323b08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
class SynchronizedNameStaticToInstanceRef {
  private Object read = new Object();
  private static Object READ = new Object();
  <clinit>() {
  }
  SynchronizedNameStaticToInstanceRef() {
    super();
  }
  static @lombok.Synchronized("read") void test3() {
    synchronized (SynchronizedNameStaticToInstanceRef.read)
      {
        System.out.println("three");
      }
  }
}