removeAfterMatch

Deprecated

Renamed to eventuallyRemove

Replace with

eventuallyRemove

Deprecated alias for eventuallyRemove, preserved for binary and source compatibility.

Existing compiled callers that reference getRemoveAfterMatch() on the JVM will continue to work without NoSuchMethodError. Kotlin callers reading this property will receive a deprecation warning and an IDE quick-fix to migrate to eventuallyRemove.

Note: the named constructor argument StubConfiguration(removeAfterMatch = …) cannot be preserved — use StubConfiguration(eventuallyRemove = …) or the companion factory StubConfiguration.removeAfterMatch for a deprecated named-argument form.