Rationale:
@AutoValue) generate equals(), hashCode(), and toString(), which R8 is unable to remove when unused.--
You received this message because you are subscribed to the Google Groups "java" group.
To unsubscribe from this group and stop receiving emails from it, send an email to java+uns...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/java/CABiQX1X5jArR78yoLmDvdkaOT86_1F8x_%2BO6LuRM-RpPGSd84g%40mail.gmail.com.
Overriding toString() should not be done for debugging purposes, as the methods are not optimized out in release builds. It is encouraged to use custom methods (e.g. toDebugString() or getDescription()) when dynamic dispatch is not required.