Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/lambda/newMethodRef/ReferencesToPolymorphicMethod.java
Anna Kozlova 636bbda18f java highlighting: give up check of @PolymorphicSignature methods (IDEA-251449)
GitOrigin-RevId: cf986ee46e52d6cabfc309776559481d42e6c5ce
2020-09-25 19:53:53 +00:00

10 lines
190 B
Java

import java.lang.invoke.MethodHandle;
class MyTest {
private void m(MethodHandle handle) {
I stringSupplier = handle::invokeExact;
}
}
interface I {
String n() throws Throwable;
}