blob: 1777cb6da9d81421410117a76e36e843b5197031 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
class A<T> {
void foo(T t){}
void bar(T t, int i){}
}
class B extends A<Integer> {
void foo(Integer t) {
super.foo(t);
}
void bar(Integer t, int i){
foo(t);
int k = i;
super.bar(t, k);
}
void bar1(Integer s) {
foo(s);
}
}
|