class DelegateNotifier
Internal KTP class that registers field injection delegates. The fields will be injected when calling {@link Scope#inject(Any)} with the object/entry point using field injection.
DelegateNotifier()
Internal KTP class that registers field injection delegates. The fields will be injected when calling {@link Scope#inject(Any)} with the object/entry point using field injection. |
fun hasDelegates(container: Any): Boolean |
|
fun notifyDelegates(container: Any, scope: Scope): Unit
Notify delegates that they should perform field injection. |
|
fun registerDelegate(container: Any, delegate: InjectDelegate<out Any>): Unit
Registers a delegate for a field injection. |