mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-25 10:51:06 +07:00
15 lines
313 B
Java
15 lines
313 B
Java
class Test {
|
|
interface I {
|
|
void m(Integer x1, Integer x2, Integer x3);
|
|
}
|
|
|
|
static class Foo {
|
|
static void foo() {}
|
|
}
|
|
|
|
<T> void bar(I i) {}
|
|
|
|
void test() {
|
|
bar<error descr="'bar(Test.I)' in 'Test' cannot be applied to '(<method reference>)'">(Foo::foo)</error>;
|
|
}
|
|
} |