This inspection reports if, when and try statements that can be converted to expressions by lifting return or assignment out. Typical example:
fun
foo(arg: Boolean): String {
when
(arg) {
true
->
return
"Truth"
false
->
return
"Falsehood" } }