summaryrefslogtreecommitdiff
path: root/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/lambda2methodReference/beforeAmbiguityWithoutSuperMethods.java
blob: 7c68e5ec9fbca8581bcdc64f8d7dea4cf68089bd (plain)
1
2
3
4
5
6
7
8
9
10
11
// "Replace lambda with method reference" "true"
import java.io.PrintStream;
import java.util.function.BiConsumer;

class Test {
  {
    BiConsumer<PrintStream, String> printer = (printStream, x) -> printSt<caret>ream.println(x);
  }


}