From d4c3c5580a9fe3ca3d66b1ad425050a894d2b421 Mon Sep 17 00:00:00 2001
From: Andre Brait
NEW in Lombok 1.14.0: To put annotations on the other
parameter of the equals
(and, if relevant, canEqual
) method, you can use onParam=@__({@AnnotationsHere})
. Be careful though! This is an experimental feature. For more details see the documentation on the onX feature.
- NEW in Lombok 1.18.16: Caching the result of the generated hashCode()
can be cached by setting cacheStrategy
to a value other than CacheStrategy.NEVER
. Do not use this if objects of the annotated class can be modified in any way that would lead to the result of hashCode()
changing.
+ NEW in Lombok 1.18.16: The result of the generated hashCode()
can be cached by setting cacheStrategy
to a value other than CacheStrategy.NEVER
. Do not use this if objects of the annotated class can be modified in any way that would lead to the result of hashCode()
changing.