summaryrefslogtreecommitdiff
path: root/plugins/typeMigration/testData/refactoring/changeTypeSignature/TypeHierarchy2.java.after
blob: b30ab01e5594d6cf344ba9c222ccb1514ee79418 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
public class Test extends B<Object> {
    Object foo() {
        return null;
    }

    void bar() {
        if (foo() == null) {}
    }
}

abstract class A<T> {
    abstract T foo();
}

abstract class B<E extends Object> extends A<E> {
}