Inspectopedia
 
2024.3

Java Map.forEach method call should be replaced with Kotlin's forEach

Info
New
Last modified: 03 December 2024

Reports a Java Map. forEach method call that can be replaced with Kotlin's forEach.

Example:

The quick-fix adds parentheses: