mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
don't visit jdk Stream API usages when searching for unrelated functional interface implementations
This commit is contained in:
+18
@@ -0,0 +1,18 @@
|
||||
interface I {
|
||||
Object fun(Object o);
|
||||
}
|
||||
|
||||
class Arrays {
|
||||
static MyStream stream(int a) { }
|
||||
}
|
||||
|
||||
interface MyStream {
|
||||
MyStream map(I i);
|
||||
}
|
||||
|
||||
class Test {
|
||||
|
||||
{
|
||||
Arrays.stream().map(p -> "a");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user