summaryrefslogtreecommitdiff
path: root/plugins/typeMigration/testData/refactoring/changeTypeSignature/PassedParameter.java.after
blob: 64847ab2afd14802314a31db02bdb8c4ccfaa939 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
class A<T> {
  void foo(T t){}
  void bar(T t, int i){}
}

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

  void bar(Object t, int i){
    foo(t);
    int k = i;
    super.bar(t, k);
  }
}