mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-13 08:15:48 +00:00
Add missing set source/statement start/end
Co-authored-by: Rawi01 <Rawi01@users.noreply.github.com>
This commit is contained in:
1 parent
a8a811b245
commit
a4866a8d23
1 file changed
+1
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user