diff options
author | Roel Spilker <r.spilker@gmail.com> | 2013-08-06 22:59:55 +0200 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2013-08-06 22:59:55 +0200 |
commit | 1eaaf3e276833d163f39eb06af32e678e2a7ed89 (patch) | |
tree | 7e1d78e8f42ee5aea854576c19f33759f379ad21 /src/core/lombok/javac/handlers/HandleSetter.java | |
parent | 3619f889f5088ccb08245c2c3d7bc6e4459337d5 (diff) | |
parent | df69425550d55da3de07f922fced3872432cd9d3 (diff) | |
download | lombok-1eaaf3e276833d163f39eb06af32e678e2a7ed89.tar.gz lombok-1eaaf3e276833d163f39eb06af32e678e2a7ed89.tar.bz2 lombok-1eaaf3e276833d163f39eb06af32e678e2a7ed89.zip |
Merge branch 'jdk8support' of github.com:rzwitserloot/lombok into jdk8support
Diffstat (limited to 'src/core/lombok/javac/handlers/HandleSetter.java')
-rw-r--r-- | src/core/lombok/javac/handlers/HandleSetter.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/lombok/javac/handlers/HandleSetter.java b/src/core/lombok/javac/handlers/HandleSetter.java index 1f8caa9b..6f345418 100644 --- a/src/core/lombok/javac/handlers/HandleSetter.java +++ b/src/core/lombok/javac/handlers/HandleSetter.java @@ -211,7 +211,7 @@ public class HandleSetter extends JavacAnnotationHandler<Setter> { Name methodName = field.toName(setterName); List<JCAnnotation> annsOnParam = copyAnnotations(onParam).appendList(nonNulls).appendList(nullables); - JCVariableDecl param = treeMaker.VarDef(treeMaker.Modifiers(Flags.FINAL, annsOnParam), fieldDecl.name, fieldDecl.vartype, null); + JCVariableDecl param = treeMaker.VarDef(treeMaker.Modifiers(Flags.FINAL | Flags.PARAMETER, annsOnParam), fieldDecl.name, fieldDecl.vartype, null); if (nonNulls.isEmpty()) { statements.append(treeMaker.Exec(assign)); |