open class PropInitOnceDelegate<T>
Can be specified as a delegate for some property. Collects all initializers for such properties but does not call them right there. Instead all initializers are called inside applyAllInitFunctions
PropInitOnceDelegate(instance: T)
Can be specified as a delegate for some property. Collects all initializers for such properties but does not call them right there. Instead all initializers are called inside applyAllInitFunctions |
val instance: T |
operator fun getValue(thisRef: Any?, property: KProperty<*>): T |
|
open fun setInitializer(init: T.() -> Unit): Unit |
var initFunctions: MutableList<() -> Unit> |
|
var insideApplyAllInit: Boolean |
fun applyAllInitFunctions(): Unit |
|
fun disableLazyInit(): Unit |