DITree
interface DITree
Tree where the bindings and their factories are sorted & stored.
Functions
Link copied to clipboard
abstract fun find(search: SearchSpecs): List<Triple<DI.Key<*, *, *>, List<DIDefinition<*, *, *>>, ContextTranslator<*, *>?>>
Finds all keys and definitions that match the given specs.
abstract fun <C : Any, A, T : Any> find(key: DI.Key<C, A, T>, overrideLevel: Int = 0, all: Boolean = false): List<Triple<DI.Key<Any, A, T>, DIDefinition<Any, A, T>, ContextTranslator<C, Any>?>>
Finds all keys and definitions that match the given key.
Properties
Extensions
Link copied to clipboard
fun DITree.findAllBindings(f: FindDSL.() -> Unit): List<Triple<DI.Key<*, *, *>, List<DIDefinition<*, *, *>>, ContextTranslator<*, *>?>>
Used to find bindings that match a particular SearchSpecs.