mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-21 21:50:54 +07:00
17 lines
218 B
Java
17 lines
218 B
Java
class Foo {
|
|
interface I<T> {
|
|
T m(Object op);
|
|
}
|
|
|
|
interface J<T> {
|
|
void m(T o);
|
|
}
|
|
|
|
|
|
void f(J r) {}
|
|
void f(I<String> r) {}
|
|
|
|
{
|
|
f((a) -> <selection>1</selection>);
|
|
}
|
|
} |