diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2013-08-06 21:22:24 +0200 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2013-08-06 21:22:24 +0200 |
commit | 9ed14b8cbf8beb209f0d63e69e472bf81efe1d35 (patch) | |
tree | c90a2629ab1b8bfbf0de7963ffc933fc474c801b /src/core/lombok/javac/handlers/HandleDelegate.java | |
parent | d0d2dd6f5d1b9bd33e9e127f8d66b3387f487271 (diff) | |
download | lombok-9ed14b8cbf8beb209f0d63e69e472bf81efe1d35.tar.gz lombok-9ed14b8cbf8beb209f0d63e69e472bf81efe1d35.tar.bz2 lombok-9ed14b8cbf8beb209f0d63e69e472bf81efe1d35.zip |
added Flags.PARAMETER to all the parameters we generate in javac.
Diffstat (limited to 'src/core/lombok/javac/handlers/HandleDelegate.java')
-rw-r--r-- | src/core/lombok/javac/handlers/HandleDelegate.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/lombok/javac/handlers/HandleDelegate.java b/src/core/lombok/javac/handlers/HandleDelegate.java index 33627072..6af34f20 100644 --- a/src/core/lombok/javac/handlers/HandleDelegate.java +++ b/src/core/lombok/javac/handlers/HandleDelegate.java @@ -305,7 +305,7 @@ public class HandleDelegate extends JavacAnnotationHandler<Delegate> { int idx = 0; for (TypeMirror param : sig.type.getParameterTypes()) { - JCModifiers paramMods = maker.Modifiers(Flags.FINAL); + JCModifiers paramMods = maker.Modifiers(Flags.FINAL | Flags.PARAMETER); String[] paramNames = sig.getParameterNames(); Name name = annotation.toName(paramNames[idx++]); params.append(maker.VarDef(paramMods, name, JavacResolution.typeToJCTree((Type) param, annotation.getAst(), true), null)); |