Suggests to replace for(Entry<?,?> entry : map.entrySet()) {...} or map.entrySet().forEach(entry -> ...) with map.forEach((key, value) -> ...).

When checkbox is checked, only entrySet().forEach() cases will be reported. However the quick-fix action will be available for for-loops as well.

This inspection only reports if the project or module is configured to use a language level of 8 or higher.

New in 2017.1