This inspection reports if, when and try statements that can be converted to expressions by lifting a return or an assignment out. Typical example:

fun foo(arg: Boolean): String {
    when (arg) {
        true -> return "Truth"
        false -> return "Falsehood"
    }
}