dalexander
06/22/2017, 5:52 PMCompanion.create() if the original object has a companion object, which will look somewhat similar to a builder. If you want to make it look very similar to a constructor I guess you could add ExistingClass.Companion.invoke() to a companion object, but I’m not sure that’s a good idea because it’s not obvious what’s happening.