Is there any way to mask sensitive fields on the automatically generated "toString()" method in Java Records without overriding it? (i.e. Annotations)
i.e.
public record SomeRecord(..., String apiKey, String password, ...) { }
Please no "Use Lombok!" answers :)
toString
in the very rare event you need to do this is so easy? – Danais