Inspectopedia
 
2024.3

Lambda parameter type can be specified

Info
New
Last modified: 03 December 2024

Reports lambda parameters that do not have their type specified and suggests adding the missing type declarations.

Example:

After the quick-fix is applied:

This inspection depends on the Java feature 'Lambda expressions', which is available since Java 8.