You can use @JvmOverloads for constructors not to overload them by urself. But this is useful only for Spock and nullable fields.
As for data classes, you can use interface with a field. Then simply add override on field in data class. This may be useful for some code generalisation.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
You can use @JvmOverloads for constructors not to overload them by urself. But this is useful only for Spock and nullable fields.
As for data classes, you can use interface with a field. Then simply add override on field in data class. This may be useful for some code generalisation.