mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-21 13:20:56 +07:00
18 lines
186 B
Java
18 lines
186 B
Java
|
|
interface IA {
|
|
void a();
|
|
}
|
|
|
|
interface IB {
|
|
void b();
|
|
}
|
|
|
|
interface IC<T extends IA>{
|
|
T c();
|
|
}
|
|
|
|
class K {
|
|
void foo(IC<? extends IB> x){
|
|
<selection>x.c()</selection>.a();
|
|
}
|
|
} |