Reports runCatching calls that are immediately followed by getOrThrow. Such calls can be replaced with just run.

Example:


  fun foo() = runCatching { doSomething() }.getOrThrow()

After the quick-fix is applied:


  fun foo() = run { doSomething() }