summaryrefslogtreecommitdiff
path: root/java/typeMigration/testData/refactoring/changeTypeSignature/MethodReturnTypeMigration.java
blob: 8183831c3ff3dc0d8f7559d494d1d279ca7e896e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
class Test {
    interface A<T> {
        T foo();
    }

    class B implements A<Stri<caret>ng> {
        public String foo() {
            return null;
        }

        public void bar() {
            String s = foo();
        }
    }

}