DynamicsChecker

data class DynamicsChecker

Helper class to validate the correctness instances passed KontainerBlueprint.useWith.

For each set of classes passed to getUnexpected the result is cached for future reuse.

Functions

getUnexpected
Link copied to clipboard
fun getUnexpected(given: Set<KClass<*>>): Set<KClass<*>>
Checks if all given are contained in all dynamicsIf all is well an empty set is returned.

Properties

dynamics
Link copied to clipboard
val dynamics: Set<KClass<*>>