aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok/ConstructorsWithAccessors.java
blob: c5295ec71330896e45bc3101745263c3aafb6984 (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
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")
	@lombok.Generated
	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 NonNullConstructorsWithAccessors {
	@lombok.NonNull
	Integer plower;
	@lombok.NonNull
	Integer pUpper;
	@lombok.NonNull
	Integer _huh;
	@lombok.NonNull
	Integer __huh2;

	@java.beans.ConstructorProperties({"plower", "upper", "huh", "_huh2"})
	@java.lang.SuppressWarnings("all")
	@javax.annotation.Generated("lombok")
	@lombok.Generated
	public NonNullConstructorsWithAccessors(@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;
	}
}