This inspection reports lambdas or anonymous functions that are created and used immediately.


fun test() {
    ({ println() })() // redundant
    (fun() { println() })() // redundant
}