aboutsummaryrefslogtreecommitdiff
path: root/test/lombok/resource/after/NonNullPlain.java
blob: 2d7ebb4fcabbd7bafe38ef6143754326e40446a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
class NonNullPlain {
	@lombok.NonNull
	int i;
	@lombok.NonNull
	String s;
	
	@lombok.NonNull
	public int getI() {
		return i;
	}
	
	public void setI(@lombok.NonNull final int i) {
		this.i = i;
	}
	
	@lombok.NonNull
	public String getS() {
		return s;
	}
	
	public void setS(@lombok.NonNull final String s) {
		if (s == null) throw new java.lang.NullPointerException("s");
		this.s = s;
	}
}