summaryrefslogtreecommitdiff
path: root/plugins/typeMigration/testData/refactoring/changeTypeSignature/TypeHierarchyFieldUsage.java.after
blob: 5eeea8234a2e97b890e402519c5cc7ae347ecea4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import java.util.List;
class A<E> {
  E e;
  List<E> list = new List<E>();
}

class B<T> extends A<T> {}

class C extends B<Object> {
   void foo() {
     if (e == null && list != null) {
        //do smth
     }
   }
}