aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-ecj/SynchronizedInRecord.java
blob: 4b586f3f81914dfdacf5fda852ab813efc1c9f76 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import lombok.Synchronized;
public record SynchronizedInRecord(String a, String b) {
/* Implicit */  private final String a;
/* Implicit */  private final String b;
  private final java.lang.Object $lock = new java.lang.Object[0];
  public SynchronizedInRecord(String a, String b) {
    super();
    .a = a;
    .b = b;
  }
  public @Synchronized void foo() {
    String foo = "bar";
  }
}