mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-24 17:51:09 +07:00
* 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
19 lines
200 B
Java
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");
|
|
}
|
|
}
|