summaryrefslogtreecommitdiff
path: root/java/typeMigration/testData/refactoring/changeTypeSignature/TypeHierarchyFieldUsage.java
blob: 3bf853421127bf7e0a0759095e17824a3f7d63c0 (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 <S<caret>tring> {
   void foo() {
     if (e == null && list != null) {
        //do smth
     }
   }
}