summaryrefslogtreecommitdiff
path: root/plugins/typeMigration/testData/refactoring/changeTypeSignature/ReturnType2.java.after
blob: a26f7d3f16551231694ddd287c1ba3e0e84cf4b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
class A<T> {
  T foo(){
    return null;
  }
}

class B extends A<Object> {
  Object foo(){return super.foo();}

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