getDistinctFor

fun getDistinctFor(type: KClass<*>): KClass<*>

Gets a distinct candidate for the given type

If there is no super type or more than one found, a ServiceNotFound is thrown.