aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2017-09-18 22:56:16 +0200
committerRoel Spilker <r.spilker@gmail.com>2017-09-18 22:56:16 +0200
commit4597e069dc926ed2f0e147fd0cdbc51e1edc7c23 (patch)
tree7a87ea41731eb3ef3700db4a41ca669647f4acdc /test/transform/resource/after-delombok
parente92e285d95e0fb08c32e7059f85806a30985084b (diff)
parent78e526690c22f1c5a1c93705076229ff32284741 (diff)
downloadlombok-4597e069dc926ed2f0e147fd0cdbc51e1edc7c23.tar.gz
lombok-4597e069dc926ed2f0e147fd0cdbc51e1edc7c23.tar.bz2
lombok-4597e069dc926ed2f0e147fd0cdbc51e1edc7c23.zip
Merge branch 'master' of https://github.com/kchirls/lombok into kchirls-master
Fixes #869, fixes #1018
Diffstat (limited to 'test/transform/resource/after-delombok')
-rw-r--r--test/transform/resource/after-delombok/ConstructorsWithAccessors.java34
1 files changed, 34 insertions, 0 deletions
diff --git a/test/transform/resource/after-delombok/ConstructorsWithAccessors.java b/test/transform/resource/after-delombok/ConstructorsWithAccessors.java
index 43c0ea66..6e9398ba 100644
--- a/test/transform/resource/after-delombok/ConstructorsWithAccessors.java
+++ b/test/transform/resource/after-delombok/ConstructorsWithAccessors.java
@@ -14,3 +14,37 @@ class ConstructorsWithAccessors {
this.__huh2 = _huh2;
}
}
+
+class NonNullConstructorsWithAccessors {
+ @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 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;
+ }
+}
+