blob: 4c47363028579de7027877aae9254b3b99f18dee (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
abstract class A<E> {
abstract E foo();
}
abstract class B<T> extends A<T> {
}
class C extends B<Object> {
Object foo() {
return null;
}
void bar() {
if (foo() == null) {
//do smth
}
}
}
|