diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2012-03-26 20:06:35 +0200 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2012-03-26 20:06:35 +0200 |
commit | 0c927175af39f2b8d66d25b735ee0e5249107286 (patch) | |
tree | 0428f1deba1cd6b0eec9e4f7c74bdd28c6eeb68a /src/core/lombok/javac/handlers/HandleSetter.java | |
parent | 4689d2a9bf79f592690a71e7ad7d25cb38b2344b (diff) | |
download | lombok-0c927175af39f2b8d66d25b735ee0e5249107286.tar.gz lombok-0c927175af39f2b8d66d25b735ee0e5249107286.tar.bz2 lombok-0c927175af39f2b8d66d25b735ee0e5249107286.zip |
Updated findMethod with paramcount.
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 0298311e..20b8375b 100644 --- a/src/core/lombok/javac/handlers/HandleSetter.java +++ b/src/core/lombok/javac/handlers/HandleSetter.java @@ -165,7 +165,7 @@ public class HandleSetter extends JavacAnnotationHandler<Setter> { String methodName = toSetterName(fieldDecl); for (String altName : toAllSetterNames(fieldDecl)) { - switch (methodExists(altName, fieldNode, false)) { + switch (methodExists(altName, fieldNode, false, 1)) { case EXISTS_BY_LOMBOK: return; case EXISTS_BY_USER: |