Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/lambda2methodReference/afterVarargTwo.java
Tagir Valeev b0929155eb IDEA-216467 "Lambda can be replaced with method reference" does not detect all cases with varargs
GitOrigin-RevId: 232800df8754a17bc8358640b675bc5a8903dfce
2020-06-09 12:46:23 +03:00

10 lines
266 B
Java

// "Replace lambda with method reference" "true"
import java.util.function.BiFunction;
import java.util.Arrays;
import java.util.List;
class Example {
public static void main(String[] args) {
BiFunction<String, String, List<String>> f3 = Arrays::asList;
}
}