Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
annotation class FactoryClass(val clazz: KClass<out InjectorFactory<*>>)
Link copied to clipboard
Link copied to clipboard
interface InjectedHandler
Link copied to clipboard
class Injector(val parent: Injector? = null, val level: Int = 0)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
interface InjectorFactory<T>
Link copied to clipboard
class InstanceObjectProvider<T>(val instance: T) : ObjectProvider<T>
Link copied to clipboard
interface ObjectProvider<T>
Link copied to clipboard
Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.CLASS])
annotation class Prototype
Link copied to clipboard
class PrototypeObjectProvider<T>(val generator: Injector.() -> T) : ObjectProvider<T>
Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.CLASS])
annotation class Singleton
Link copied to clipboard
class SingletonObjectProvider<T>(val generator: Injector.() -> T) : ObjectProvider<T>

Functions

Link copied to clipboard
suspend fun injector(): Injector
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
suspend fun <T> withInjector(injector: Injector, block: suspend () -> T): T