mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-29 16:50:55 +07:00
13 lines
260 B
Java
13 lines
260 B
Java
class Test<V> {
|
|
|
|
void bar(Win window, I<V> consumer) {}
|
|
void bar(Comp component, I<V> consumer) {}
|
|
|
|
private void foo(final Win component, final I<V> consumer) {
|
|
bar(component, consumer);
|
|
}
|
|
}
|
|
|
|
interface I<K>{}
|
|
class Comp {}
|
|
class Win extends Comp {} |