```inline fun <reified T : Any> defineBuilde...
# announcements
m
Copy code
inline fun <reified T : Any> defineBuilder(vararg constructorArgs: Any?) = { body: T.() -> Unit ->
    T::class.primaryConstructor!!.call(*constructorArgs).apply { body() }
}