Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/lambda2methodCall/beforeIdentityInferenceProblem.java

11 lines
253 B
Java

// "Replace lambda expression with 'Function.identity()'" "false"
import java.util.function.Function;
public class Main {
void m(Function<String, String> f) {
n(f, o <caret>-> o);
}
<T> void n(Function<T, T> f1, Function<T, Object> f2) {}
}