finally i see:
you donât need private constructor and fabric for inner class, because your public constructor of inner class is a factory itself
scoped privacy gives you a nicer strict fabric for java-styled code with scala, but you got correctly created inner instance without it (as mentioned you also donât need to store container for inner class, it already stored)
so âinner classâ is more âkotlinâ way to make nested instance, itâs always produced by defined parent instance, itâs always have access to it, and you cant âavoid to invokeâ fabric when consructor is a fabric
