aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-ecj/NonNullOnRecord3.java
blob: 37f0afcfbf45b47d35f5d06a67c9c737d232aa90 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// version 19:
import lombok.NonNull;
public record NonNullOnRecord3(String a) {
/* Implicit */  private final String a;
  public NonNullOnRecord3(String a) {
    super();
    this.a = a;
  }
  public void method(@NonNull String param) {
    if ((param == null))
        {
          throw new java.lang.NullPointerException("param is marked non-null but is null");
        }
    String asd = "a";
  }
}