don't visit jdk Stream API usages when searching for unrelated functional interface implementations

This commit is contained in:
peter
2016-08-03 12:49:11 +02:00
parent 4db293153c
commit 522e0b9c2d
10 changed files with 286 additions and 31 deletions
@@ -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");
}
}