mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-30 18:20:52 +07:00
16 lines
221 B
Java
16 lines
221 B
Java
// "Create method 'foo'" "true"
|
|
interface Int<T> {
|
|
}
|
|
|
|
class A1<T> implements Int<T> {
|
|
public void foo(Int<T> c) {
|
|
|
|
}
|
|
}
|
|
|
|
class B1 {
|
|
A1<String> a;
|
|
void foo (Int<String> c) {
|
|
a.foo(c);
|
|
}
|
|
} |