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

8 lines
206 B
Java

// "Replace lambda with method reference" "true"
import java.util.function.Function;
class Bar extends Random {
public void test(Object obj) {
Function<Object, int[]> fn = s -> (int[])<caret>s;
}
}