aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok/NonNullPlain.java
blob: 46f7699dc21df5ec6df4668049422c7968a793cc (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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
import java.lang.annotation.*;
class NonNullPlain {
	@lombok.NonNull
	int i;
	@lombok.NonNull
	String s;
	@NotNull
	Object o;
	@Target({ElementType.FIELD, ElementType.METHOD, ElementType.PARAMETER, ElementType.LOCAL_VARIABLE})
	@Retention(RetentionPolicy.CLASS)
	public @interface NotNull {
	}
	@java.beans.ConstructorProperties({"i", "s"})
	@java.lang.SuppressWarnings("all")
	@javax.annotation.Generated("lombok")
	@lombok.Generated
	public NonNullPlain(@lombok.NonNull final int i, @lombok.NonNull final String s) {
		if (s == null) {
			throw new java.lang.NullPointerException("s");
		}
		this.i = i;
		this.s = s;
	}
	@lombok.NonNull
	@java.lang.SuppressWarnings("all")
	@javax.annotation.Generated("lombok")
	@lombok.Generated
	public int getI() {
		return this.i;
	}
	@lombok.NonNull
	@java.lang.SuppressWarnings("all")
	@javax.annotation.Generated("lombok")
	@lombok.Generated
	public String getS() {
		return this.s;
	}
	@java.lang.SuppressWarnings("all")
	@javax.annotation.Generated("lombok")
	@lombok.Generated
	public Object getO() {
		return this.o;
	}
	@java.lang.SuppressWarnings("all")
	@javax.annotation.Generated("lombok")
	@lombok.Generated
	public void setI(@lombok.NonNull final int i) {
		this.i = i;
	}
	@java.lang.SuppressWarnings("all")
	@javax.annotation.Generated("lombok")
	@lombok.Generated
	public void setS(@lombok.NonNull final String s) {
		if (s == null) {
			throw new java.lang.NullPointerException("s");
		}
		this.s = s;
	}
	@java.lang.SuppressWarnings("all")
	@javax.annotation.Generated("lombok")
	@lombok.Generated
	public void setO(final Object o) {
		this.o = o;
	}
}