aboutsummaryrefslogtreecommitdiff
path: root/src/core/lombok/eclipse/handlers/HandleSetter.java
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2012-03-26 20:06:35 +0200
committerReinier Zwitserloot <reinier@zwitserloot.com>2012-03-26 20:06:35 +0200
commit0c927175af39f2b8d66d25b735ee0e5249107286 (patch)
tree0428f1deba1cd6b0eec9e4f7c74bdd28c6eeb68a /src/core/lombok/eclipse/handlers/HandleSetter.java
parent4689d2a9bf79f592690a71e7ad7d25cb38b2344b (diff)
downloadlombok-0c927175af39f2b8d66d25b735ee0e5249107286.tar.gz
lombok-0c927175af39f2b8d66d25b735ee0e5249107286.tar.bz2
lombok-0c927175af39f2b8d66d25b735ee0e5249107286.zip
Updated findMethod with paramcount.
Diffstat (limited to 'src/core/lombok/eclipse/handlers/HandleSetter.java')
-rw-r--r--src/core/lombok/eclipse/handlers/HandleSetter.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/lombok/eclipse/handlers/HandleSetter.java b/src/core/lombok/eclipse/handlers/HandleSetter.java
index 8599fca7..01926155 100644
--- a/src/core/lombok/eclipse/handlers/HandleSetter.java
+++ b/src/core/lombok/eclipse/handlers/HandleSetter.java
@@ -153,7 +153,7 @@ public class HandleSetter extends EclipseAnnotationHandler<Setter> {
int modifier = toEclipseModifier(level) | (field.modifiers & ClassFileConstants.AccStatic);
for (String altName : TransformationsUtil.toAllSetterNames(new String(field.name), isBoolean)) {
- switch (methodExists(altName, fieldNode, false)) {
+ switch (methodExists(altName, fieldNode, false, 1)) {
case EXISTS_BY_LOMBOK:
return;
case EXISTS_BY_USER: