void () { MyList<? extends List<? extends CharSequence>> res2 = new MyList<>(); for (CharSequence charSequence : getListExtends()) { List<? extends CharSequence> list = asList(charSequence); res2.add(list); } System.out.println(res2); }