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/eclipse/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/eclipse/handlers/HandleSetter.java')
-rw-r--r-- | src/core/lombok/eclipse/handlers/HandleSetter.java | 2 |
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: |