koin-core-ext / org.koin.experimental.builder

Package org.koin.experimental.builder

Extensions for External Classes

java.lang.reflect.Constructor

kotlin.reflect.KClass

org.koin.core.module.Module

org.koin.dsl.ScopeSet

Properties

allConstructors

val allConstructors: ConcurrentHashMap<String, Constructor<*>>

Functions

create

fun <T : Any> create(context: Scope): T

Create instance for type T and inject dependencies into 1st constructor

getArguments

fun getArguments(ctor: Constructor<*>, context: Scope): Array<Any>

Retrieve arguments for given constructor