When creating a data class with a private constructor, a warning is shown that the constructor is exposed via the copy method. Is it possible to not generate that copy method? Currently I have to not mark it as a data class and implement(/generate) the
toString()
,
equals()
and
hashCode()
methods myself 😕