verify

fun Module.verify(extraTypes: List<KClass<*>> = emptyList(), injections: List<ParameterTypeInjection>? = emptyList()): Verification

Make a static verification about all declared classes constructors, to ensure they are all bound to an existing definition Throws MissingDefinitionException if any definition is missing

Parameters

extraTypes
  • allow to declare extra type, to be bound above the existing definitions

injections
  • Experimental - defines parameters injection types to allow (normally used in parametersOf)

Throws