Is
test::testMethod == test::testMethod
true? I want to find out whether they will refer to the same object. This code does not compile. But there may be several situations in which this needs clarification.
I suspect that this will expand to
Runnable r = () -> test.testMethod()
Runnable r1 = () -> test.testMethod()
And whether the below is true.
r == r1