Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/lambda/findUsages/ArraysStreamLikeApi.java
peter 9776d5a28d speedup functional expression search (IDEA-159107)
* filter inapplicable expressions without loading AST if possible, via approximate resolve
* for that, store the approximate call chains in index
* iterate over files once, not for each empty marker Runnable interface separately
* don't rely on generic method parameter index: it's huge, memory-hungry and works only in Java
2016-08-13 12:12:19 +02:00

19 lines
200 B
Java

interface I {
Object fun(Object o);
}
class Arrays {
static MyStream stream(int a) { }
}
interface MyStream {
MyStream map(I i);
}
class Test {
{
Arrays.stream(1).map(p -> "a");
}
}