Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/createMethodFromMethodRef/beforePoly2.java
T
2023-03-20 17:26:05 +00:00

11 lines
260 B
Java

// "Create method 'hello'" "true"
import java.util.function.BiFunction;
class X {
void x() {
BiFunction<String, Integer, Double> fn = (s, i) -> ((double)s.length())/i;
BiFunction<String, Integer, Character> fn2 = fn.andThen(X::<caret>hello);
}
}