class List<T> { T t; } class Test{ List g (){ return new List<Integer>(); } }