diff options
author | Andre Brait <andrebrait@gmail.com> | 2020-07-14 11:18:07 +0200 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2020-09-24 22:25:15 +0200 |
commit | a4866a8d23466813d30bf9102ba26cb3fecebc47 (patch) | |
tree | 659f0d4918092813f3abfd7a4596726b873d88d3 /src/core/lombok/eclipse/handlers/HandleEqualsAndHashCode.java | |
parent | a8a811b245528d74de8110dac8161c3f51bf2df5 (diff) | |
download | lombok-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/handlers/HandleEqualsAndHashCode.java')
-rwxr-xr-x | src/core/lombok/eclipse/handlers/HandleEqualsAndHashCode.java | 1 |
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); } |