Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/lambda2methodReference/afterSumByte.java

10 lines
183 B
Java

// "Replace lambda with method reference" "true"
class Bar {
interface Foo {
int sum(Byte b1, Byte b2);
}
public void test(Object obj) {
Foo foo = Integer::sum;
}
}