aboutsummaryrefslogtreecommitdiff
path: root/src/core/lombok/eclipse
diff options
context:
space:
mode:
authorAndre Brait <andrebrait@gmail.com>2020-07-14 11:18:07 +0200
committerRoel Spilker <r.spilker@gmail.com>2020-09-24 22:25:15 +0200
commita4866a8d23466813d30bf9102ba26cb3fecebc47 (patch)
tree659f0d4918092813f3abfd7a4596726b873d88d3 /src/core/lombok/eclipse
parenta8a811b245528d74de8110dac8161c3f51bf2df5 (diff)
downloadlombok-a4866a8d23466813d30bf9102ba26cb3fecebc47.tar.gz
lombok-a4866a8d23466813d30bf9102ba26cb3fecebc47.tar.bz2
lombok-a4866a8d23466813d30bf9102ba26cb3fecebc47.zip
Add missing set source/statement start/end
Co-authored-by: Rawi01 <Rawi01@users.noreply.github.com>
Diffstat (limited to 'src/core/lombok/eclipse')
-rwxr-xr-xsrc/core/lombok/eclipse/handlers/HandleEqualsAndHashCode.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/lombok/eclipse/handlers/HandleEqualsAndHashCode.java b/src/core/lombok/eclipse/handlers/HandleEqualsAndHashCode.java
index 44676b3c..4c5f3083 100755
--- a/src/core/lombok/eclipse/handlers/HandleEqualsAndHashCode.java
+++ b/src/core/lombok/eclipse/handlers/HandleEqualsAndHashCode.java
@@ -450,6 +450,7 @@ public class HandleEqualsAndHashCode extends EclipseAnnotationHandler<EqualsAndH
SingleNameReference resultRef = new SingleNameReference(RESULT, p);
setGeneratedBy(resultRef, source);
Assignment cacheResult = new Assignment(hashCodeCacheRef, resultRef, pE);
+ cacheResult.sourceStart = pS; cacheResult.statementEnd = cacheResult.sourceEnd = pE;
setGeneratedBy(cacheResult, source);
statements.add(cacheResult);
}