summaryrefslogtreecommitdiff
path: root/java/typeMigration/testData/refactoring/typeMigration/t25/after/test.java
blob: b06e456332d8c0bed71ac2c4c04ed2b582fe1789 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
public class Test {
    D f;
    C foo() {
       return f;
    }
}

class B extends Test {
    C foo() {
        return null;
    }
}

class C {}
class D extends C{}