aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2017-09-18 23:20:08 +0200
committerRoel Spilker <r.spilker@gmail.com>2017-09-18 23:20:08 +0200
commit49a4342088b4b7be540018fdc91aeeaeca8d1820 (patch)
tree2a2ce1a1cd10d5b18cb1fadbf21aaa0dcff7435f /test/transform/resource/after-delombok
parente92e285d95e0fb08c32e7059f85806a30985084b (diff)
parentafb1fb88883d4b3707de3b97fb44253a725437b7 (diff)
downloadlombok-49a4342088b4b7be540018fdc91aeeaeca8d1820.tar.gz
lombok-49a4342088b4b7be540018fdc91aeeaeca8d1820.tar.bz2
lombok-49a4342088b4b7be540018fdc91aeeaeca8d1820.zip
Merge branch 'kchirls-master'
Diffstat (limited to 'test/transform/resource/after-delombok')
-rw-r--r--test/transform/resource/after-delombok/ConstructorsWithAccessors.java33
1 files changed, 33 insertions, 0 deletions
diff --git a/test/transform/resource/after-delombok/ConstructorsWithAccessors.java b/test/transform/resource/after-delombok/ConstructorsWithAccessors.java
index 43c0ea66..94ccde08 100644
--- a/test/transform/resource/after-delombok/ConstructorsWithAccessors.java
+++ b/test/transform/resource/after-delombok/ConstructorsWithAccessors.java
@@ -14,3 +14,36 @@ class ConstructorsWithAccessors {
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;
+ }
+} \ No newline at end of file