I'd say: If you have to use the class from Java a ...
# getting-started
j
I'd say: If you have to use the class from Java a builder seems to be the best idea...
1
n
jschneider: I was hoping something similar to
@JvmBuilder
available
So you are not the first one to ask that question. I a can feel your pain, too.
😞 1
g
the https://immutables.github.io/ project might help you. i don’t know if it works in kotlin but you could just write your class in java using that..