Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/lambda/findUsages/CallOnGenericParameter.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

13 lines
138 B
Java

interface I {
int a();
}
class A<Z> {
void foo(I i);
}
class C<X, Y, SR extends A<Y>> {
void bar(SR t) {
t.foo(() -> 1);
}
}