aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok/NonNullOnRecordExistingSetter.java
blob: 11aaca49abd006a2e9de6b1b809282969190430c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// version 14:
import lombok.NonNull;
public record NonNullOnRecordExistingSetter(@NonNull String a) {
	public NonNullOnRecordExistingSetter(String a) {
		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";
	}
}