assertOnlyKnownGaps

fun assertOnlyKnownGaps(types: Collection<Class<*>>, knownGaps: Map<String, String>, ignoredMembers: Set<String> = CONSTANT_CLASSIFIERS)

Fails when the inherited defaults of types differ from knownGaps (key = SimpleName.method(ParamTypes), value = the work item that removes the gap). A new gap fails the check, and so does a fixed gap that is still listed, so the known-gap list can only shrink.