Simplifiable forEach() call
forEach() calls that can be replaced with a more concise method or from which intermediate steps can be extracted.
After the quick-fix is applied:
This inspection only reports if the language level of the project or module is 8 or higher.
New in 2017.3
IntelliJ IDEA 2023.3, Qodana for JVM 2023.3