aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok/ConstructorsWithAccessors.java
blob: 94ccde08c6e314e91cd6f08b5fb4d0ac433f97d9 (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
class ConstructorsWithAccessors {
	int plower;
	int pUpper;
	int _huh;
	int __huh2;

	@java.beans.ConstructorProperties({"plower", "upper", "huh", "_huh2"})
	@java.lang.SuppressWarnings("all")
	@javax.annotation.Generated("lombok")
	public ConstructorsWithAccessors(final int plower, final int upper, final int huh, final int _huh2) {
		this.plower = plower;
		this.pUpper = upper;
		this._huh = huh;
		this.__huh2 = _huh2;
	}
}

class ConstructorsWithAccessorsNonNull {
	@lombok.NonNull
	Integer plower;
	@lombok.NonNull
	Integer pUpper;
	@lombok.NonNull
	Integer _huh;
	@lombok.NonNull
	final Integer __huh2;

	@java.beans.ConstructorProperties({"plower", "upper", "huh", "_huh2"})
	@java.lang.SuppressWarnings("all")
	@javax.annotation.Generated("lombok")
	public ConstructorsWithAccessorsNonNull(@lombok.NonNull final Integer plower, @lombok.NonNull final Integer upper, @lombok.NonNull final Integer huh, @lombok.NonNull final Integer _huh2) {
		if (plower == null) {
			throw new java.lang.NullPointerException("plower");
		}
		if (upper == null) {
			throw new java.lang.NullPointerException("upper");
		}
		if (huh == null) {
			throw new java.lang.NullPointerException("huh");
		}
		if (_huh2 == null) {
			throw new java.lang.NullPointerException("_huh2");
		}
		this.plower = plower;
		this.pUpper = upper;
		this._huh = huh;
		this.__huh2 = _huh2;
	}
}