forEach method call that can be replaced with Kotlin's forEach.
Example:
fun test(map: HashMap<Int, String>) {
map.forEach { (key, value) ->
foo(key, value)
}
}
fun foo(i: Int, s: String) {}
The quick fix removes parentheses:
fun test(map: HashMap<Int, String>) {
map.forEach { key, value ->
foo(key, value)
}
}
fun foo(i: Int, s: String) {}