aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok/NonNullWithAlternateException.java
blob: 76c6406a51e7d47943c1bde738e85b07cfd183b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
public class NonNullWithAlternateException {
	@lombok.NonNull
	private String test;
	public void testMethod(@lombok.NonNull String arg) {
		if (arg == null) {
			throw new java.lang.IllegalArgumentException("arg is null");
		}
		System.out.println(arg);
	}
	@java.lang.SuppressWarnings("all")
	public void setTest(@lombok.NonNull final String test) {
		if (test == null) {
			throw new java.lang.IllegalArgumentException("test is null");
		}
		this.test = test;
	}
}