MyClass::myMethod
and myObject::myMethod
.
The quick fix for the inspection replaces the method reference with an equivalent lambda expression that invokes the method.
For example, the method reference System.out::println
is replaced with
s -> System.out.println(s)