Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/lambda2methodReference/afterVarargsEmpty.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

9 lines
242 B
Java

// "Replace lambda with method reference" "true"
import java.util.function.Function;
class Example {
public static void main(String[] args) {
Function<String, Example> f1 = Example::new;
}
public Example(String a, String... b) {}
}