aboutsummaryrefslogtreecommitdiff
path: root/src/core/lombok/eclipse/handlers/HandleSetter.java
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2011-11-15 14:22:46 +0100
committerReinier Zwitserloot <reinier@zwitserloot.com>2011-11-15 14:22:46 +0100
commitdc92425f85d2f2dd187b688ff6d218d3c8e657b6 (patch)
treee654c0016c01c34da8f5635625d04225e3c58cbd /src/core/lombok/eclipse/handlers/HandleSetter.java
parent1cdd42ac10c128765d3ff642d808c00eab6a1782 (diff)
parent5cc928f471f3875f141ab1ee737cfe2613e9cdd6 (diff)
downloadlombok-dc92425f85d2f2dd187b688ff6d218d3c8e657b6.tar.gz
lombok-dc92425f85d2f2dd187b688ff6d218d3c8e657b6.tar.bz2
lombok-dc92425f85d2f2dd187b688ff6d218d3c8e657b6.zip
Merge branch 'Issue_263' of https://github.com/jvanderhel/lombok into jvanderhel-Issue_263
Conflicts: src/eclipseAgent/lombok/eclipse/agent/EclipsePatcher.java
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 a32d45fc..ea81965b 100644
--- a/src/core/lombok/eclipse/handlers/HandleSetter.java
+++ b/src/core/lombok/eclipse/handlers/HandleSetter.java
@@ -198,7 +198,7 @@ public class HandleSetter extends EclipseAnnotationHandler<Setter> {
NameReference fieldNameRef = new SingleNameReference(field.name, p);
setGeneratedBy(fieldNameRef, source);
Assignment assignment = new Assignment(fieldRef, fieldNameRef, (int)p);
- assignment.sourceStart = pS; assignment.sourceEnd = pE;
+ assignment.sourceStart = pS; assignment.sourceEnd = assignment.statementEnd = pE;
setGeneratedBy(assignment, source);
method.bodyStart = method.declarationSourceStart = method.sourceStart = source.sourceStart;
method.bodyEnd = method.declarationSourceEnd = method.sourceEnd = source.sourceEnd;