Feature Request: Constructor parameter default value when receiving null input

I’m not sure how that would help - as I mentioned, we depend on libraries like Jackson and Kryo in our project, and we have to preserve compatibility with older versions of the code that haven’t been upgraded to work with the newly updated code. So I don’t know if a compiler plugin would help here since, for example, an instance of this class may be created by the Kryo deserializer in a way that might not benefit from that plugin.

1 Like