diff options
author | Kevin Chirls <kchirls@gmail.com> | 2017-01-31 20:08:41 -0800 |
---|---|---|
committer | Kevin Chirls <kchirls@gmail.com> | 2017-01-31 20:08:41 -0800 |
commit | f765730526e061d39c3ecd44f37de6a7f7887cf0 (patch) | |
tree | 96bb49aa9ff32fa2b27a71949ffa99e467bd1540 /test/transform/resource/before | |
parent | 5f02accc064cc05c822c7c93c6b972b1ca387b4f (diff) | |
download | lombok-f765730526e061d39c3ecd44f37de6a7f7887cf0.tar.gz lombok-f765730526e061d39c3ecd44f37de6a7f7887cf0.tar.bz2 lombok-f765730526e061d39c3ecd44f37de6a7f7887cf0.zip |
Fix for issues #869 and #1018
Generates the null check on the constructor parameter instead of the
instance field. Fix for issues #869 and #1018.
Diffstat (limited to 'test/transform/resource/before')
-rw-r--r-- | test/transform/resource/before/ConstructorsWithAccessors.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/transform/resource/before/ConstructorsWithAccessors.java b/test/transform/resource/before/ConstructorsWithAccessors.java index e5d2939f..6facb03a 100644 --- a/test/transform/resource/before/ConstructorsWithAccessors.java +++ b/test/transform/resource/before/ConstructorsWithAccessors.java @@ -4,3 +4,11 @@ int _huh; int __huh2; } + +@lombok.AllArgsConstructor @lombok.experimental.Accessors(prefix={"p", "_"}) class NonNullConstructorsWithAccessors { + @lombok.NonNull Integer plower; + @lombok.NonNull Integer pUpper; + @lombok.NonNull Integer _huh; + @lombok.NonNull Integer __huh2; +} + |