aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-ecj/NonNullOnRecord2.java
blob: 5820d453cb9a6752db93502b50bdd6ec0ec1fe1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// version 14:
import lombok.NonNull;
record NonNullOnRecord2(String a) {
/* Implicit */  private final String a;
  public NonNullOnRecord2(@NonNull String a) {
    super();
    if ((a == null))
        {
          throw new java.lang.NullPointerException("a is marked non-null but is null");
        }
    System.out.println("Hello");
    this.a = a;
  }
}