Without this check, instrumentation of a pure coroutine library adds bytecode instructions calling methods that don't exist in the library (hence No...FoundErrors).
Other instrumentations don't need additional checks:
SharedFlowTransformer works on a class only existing in the IDEA version of the library;
cepture/insertion points are added to methods only existing in the IDEA version of the library.
Without this check, instrumentation of a pure coroutine library adds bytecode instructions calling methods that don't exist in the library (hence
No...FoundError
s). Other instrumentations don't need additional checks: