Thanks
Nice idea. I hadn’t considered extension functions for companion objects! I’ll have a look when I get the chance (which may not be that soon).
Edit: Sadly it doesn’t seem possible to annotate extension functions with @JvmStatic, so Java classes wouldn’t see any such MyDataClass.builder() method. It would be visible in Kotlin, but you don’t really need it in Kotlin.