Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/createMethodFromMethodRef/beforeAmbiguityResolvedByStandaloneExpressions.java

17 lines
348 B
Java

// "Create method 'fooBar'" "true"
import java.util.function.Consumer;
class MyTest {
public void testMethod() {
overloadOtherParam("anything", this::foo<caret>Bar);
}
private void overloadOtherParam(String anything, Consumer<String> consumer) {
}
private void overloadOtherParam(int anything, Consumer<String> consumer) {
}
}