diff options
author | Roel Spilker <r.spilker@gmail.com> | 2017-09-18 23:20:08 +0200 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2017-09-18 23:20:08 +0200 |
commit | 49a4342088b4b7be540018fdc91aeeaeca8d1820 (patch) | |
tree | 2a2ce1a1cd10d5b18cb1fadbf21aaa0dcff7435f /src/core/lombok/eclipse | |
parent | e92e285d95e0fb08c32e7059f85806a30985084b (diff) | |
parent | afb1fb88883d4b3707de3b97fb44253a725437b7 (diff) | |
download | lombok-49a4342088b4b7be540018fdc91aeeaeca8d1820.tar.gz lombok-49a4342088b4b7be540018fdc91aeeaeca8d1820.tar.bz2 lombok-49a4342088b4b7be540018fdc91aeeaeca8d1820.zip |
Merge branch 'kchirls-master'
Diffstat (limited to 'src/core/lombok/eclipse')
-rw-r--r-- | src/core/lombok/eclipse/handlers/HandleConstructor.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/lombok/eclipse/handlers/HandleConstructor.java b/src/core/lombok/eclipse/handlers/HandleConstructor.java index 856f3611..3469e6bf 100644 --- a/src/core/lombok/eclipse/handlers/HandleConstructor.java +++ b/src/core/lombok/eclipse/handlers/HandleConstructor.java @@ -350,7 +350,7 @@ public class HandleConstructor { Annotation[] nonNulls = findAnnotations(field, NON_NULL_PATTERN); Annotation[] nullables = findAnnotations(field, NULLABLE_PATTERN); if (nonNulls.length != 0) { - Statement nullCheck = generateNullCheck(field, sourceNode); + Statement nullCheck = generateNullCheck(parameter, sourceNode); if (nullCheck != null) nullChecks.add(nullCheck); } parameter.annotations = copyAnnotations(source, nonNulls, nullables); |