Reports method references, like MyClass::myMethod and myObject::myMethod, and suggests replacing them with an equivalent lambda expression.

Lambda expressions can be easier to modify than method references.

Example:


  System.out::println

After the quick-fix is applied:


  s -> System.out.println(s)

By default, this inspection does not highlight the code in the editor, but only provides a quick-fix.