aboutsummaryrefslogtreecommitdiff
path: root/src/core/lombok/javac/handlers/HandleDelegate.java
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2013-08-06 21:22:24 +0200
committerReinier Zwitserloot <reinier@zwitserloot.com>2013-08-06 21:22:24 +0200
commit9ed14b8cbf8beb209f0d63e69e472bf81efe1d35 (patch)
treec90a2629ab1b8bfbf0de7963ffc933fc474c801b /src/core/lombok/javac/handlers/HandleDelegate.java
parentd0d2dd6f5d1b9bd33e9e127f8d66b3387f487271 (diff)
downloadlombok-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.java2
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));