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

10 lines
197 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 = (b1, b2) -> b1<caret> + b2;
}
}