diff options
author | Reinier Zwitserloot <reinier@tipit.to> | 2009-09-01 19:17:09 +0200 |
---|---|---|
committer | Reinier Zwitserloot <reinier@tipit.to> | 2009-09-01 19:17:09 +0200 |
commit | da367086c56b1a21a549a81d66d6f85ae04709fd (patch) | |
tree | 9a13a9a763dce81fafc2fc433c640737c3ba144f /src/lombok/eclipse/handlers/HandleSetter.java | |
parent | 25e33d02e3b91b04947257ffa3c6233f1c81d3ce (diff) | |
download | lombok-da367086c56b1a21a549a81d66d6f85ae04709fd.tar.gz lombok-da367086c56b1a21a549a81d66d6f85ae04709fd.tar.bz2 lombok-da367086c56b1a21a549a81d66d6f85ae04709fd.zip |
More work on fully addressing the David Lynch bug (issue #41) - the annotation @NotNull/@NonNull/@Nullable that is copied over by @Getter should no longer be causing the David Lynch bug.
Diffstat (limited to 'src/lombok/eclipse/handlers/HandleSetter.java')
-rw-r--r-- | src/lombok/eclipse/handlers/HandleSetter.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lombok/eclipse/handlers/HandleSetter.java b/src/lombok/eclipse/handlers/HandleSetter.java index 17747d8c..8c47a43b 100644 --- a/src/lombok/eclipse/handlers/HandleSetter.java +++ b/src/lombok/eclipse/handlers/HandleSetter.java @@ -151,7 +151,7 @@ public class HandleSetter implements EclipseAnnotationHandler<Setter> { if (nullCheck != null) method.statements = new Statement[] { nullCheck, assignment }; else method.statements = new Statement[] { assignment }; } - Annotation[] copiedAnnotations = copyAnnotations(nonNulls, nullables); + Annotation[] copiedAnnotations = copyAnnotations(nonNulls, nullables, pos); if (copiedAnnotations.length != 0) param.annotations = copiedAnnotations; return method; } |