diff options
author | Kevin Chirls <kchirls@users.noreply.github.com> | 2017-03-15 10:09:04 -0700 |
---|---|---|
committer | Kevin Chirls <kchirls@users.noreply.github.com> | 2017-03-15 10:09:04 -0700 |
commit | 78e526690c22f1c5a1c93705076229ff32284741 (patch) | |
tree | 78c779216126421a818285755e907e44c70a0ef5 /test/transform/resource/after-ecj | |
parent | d146f362682654afd1a01c477836e72eadbd9e42 (diff) | |
download | lombok-78e526690c22f1c5a1c93705076229ff32284741.tar.gz lombok-78e526690c22f1c5a1c93705076229ff32284741.tar.bz2 lombok-78e526690c22f1c5a1c93705076229ff32284741.zip |
Updates for pull request #1284. Fix for issues #869 and #1018.
Added name to AUTHORS file. Added ECJ fix and test. Made one of the
variables final to also verify the final error case.
Diffstat (limited to 'test/transform/resource/after-ecj')
-rw-r--r-- | test/transform/resource/after-ecj/ConstructorsWithAccessors.java | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/test/transform/resource/after-ecj/ConstructorsWithAccessors.java b/test/transform/resource/after-ecj/ConstructorsWithAccessors.java index 7c691b42..b7a20e18 100644 --- a/test/transform/resource/after-ecj/ConstructorsWithAccessors.java +++ b/test/transform/resource/after-ecj/ConstructorsWithAccessors.java @@ -11,3 +11,33 @@ this.__huh2 = _huh2; } } +@lombok.AllArgsConstructor @lombok.experimental.Accessors(prefix = {"p", "_"}) class NonNullConstructorsWithAccessors { + @lombok.NonNull Integer plower; + @lombok.NonNull Integer pUpper; + @lombok.NonNull Integer _huh; + final @lombok.NonNull Integer __huh2; + public @java.beans.ConstructorProperties({"plower", "upper", "huh", "_huh2"}) @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") NonNullConstructorsWithAccessors(final @lombok.NonNull Integer plower, final @lombok.NonNull Integer upper, final @lombok.NonNull Integer huh, final @lombok.NonNull Integer _huh2) { + super(); + 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; + } +} + |