Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/lambda/expressions/CreateMethodFromMethodReferenceAvailability.java
Anna Kozlova 3db82d3846 [java] inference: completely ignore expressions over which overload resolution is started
logging for EA-241551 - NPE: MethodReferenceResolver$0$0.inferTypeArguments, as there is no reproducible example, still

GitOrigin-RevId: 46216cd8171479d14af2283cf9cd4a35e68d9b48
2022-07-04 12:06:22 +00:00

18 lines
297 B
Java

import java.util.function.BiFunction;
import java.util.function.Function;
public class Clazz {
<T> T foo(BiFunction<T, T, T> d) { return null;}
<T> T foo(Function<T, String> d) { return null;}
{
fooBar(foo(this::<caret>bar));
}
<K> void fooBar(K k) {}
}