Commenting out a line that causes a lot of loops; let the exclusion trace continue...
[jpf-core.git] / examples / Generic.java
1 import java.util.List;
2 import java.util.ArrayList;
3
4 public class Generic<T,E> {
5         
6         private T t;
7         
8         public T returnT(List<String> test) {
9                 return this.t;
10         }
11
12         public List<String> returnL(List<String> test) {
13                 return test;
14         }
15         
16         public static void main(String[] args) {
17         
18                 Generic gen = new Generic();
19                 List<String> list = new ArrayList<>();
20                 List<String> ret = gen.returnL(list);
21         }
22 }