aboutsummaryrefslogtreecommitdiff
path: root/src/core/lombok/javac/handlers/HandleSetter.java
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@tipit.to>2009-12-04 21:16:33 +0100
committerReinier Zwitserloot <reinier@tipit.to>2009-12-04 21:16:33 +0100
commit89d60fcebbd86c971b9b564c7bd68903978c0649 (patch)
treecea81f9b1097513b79b37aaff27071a286357a02 /src/core/lombok/javac/handlers/HandleSetter.java
parent229cbbb0d9e7b18b4a4b214f8d5198c527a4f714 (diff)
downloadlombok-89d60fcebbd86c971b9b564c7bd68903978c0649.tar.gz
lombok-89d60fcebbd86c971b9b564c7bd68903978c0649.tar.bz2
lombok-89d60fcebbd86c971b9b564c7bd68903978c0649.zip
Fix for issue #75: If 'setURL' exists, then lombok will no longer make a 'setUrl' field if you have a field named 'url'.
Diffstat (limited to 'src/core/lombok/javac/handlers/HandleSetter.java')
-rw-r--r--src/core/lombok/javac/handlers/HandleSetter.java2
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 4726f771..1d1421b9 100644
--- a/src/core/lombok/javac/handlers/HandleSetter.java
+++ b/src/core/lombok/javac/handlers/HandleSetter.java
@@ -101,7 +101,7 @@ public class HandleSetter implements JavacAnnotationHandler<Setter> {
JCVariableDecl fieldDecl = (JCVariableDecl)fieldNode.get();
String methodName = toSetterName(fieldDecl);
- switch (methodExists(methodName, fieldNode)) {
+ switch (methodExists(methodName, fieldNode, false)) {
case EXISTS_BY_LOMBOK:
return true;
case EXISTS_BY_USER: