void () { List<String> result1 = new ArrayList<>(); for (Integer integer2 : Arrays.asList(1, 2, 3, 4)) { String string1 = String.valueOf(integer2); result1.add(string1); } Object list1 = result1; List<String> result = new ArrayList<>(); for (Integer i2 : Arrays.asList(1, 2, 3, 4)) { String s1 = String.valueOf(i2); result.add(s1); } Iterable<String> list2 = result; Collection<String> list3 = new ArrayList<>(); for (Integer integer1 : Arrays.asList(1, 2, 3, 4)) { String value = String.valueOf(integer1); list3.add(value); } List<String> list4 = new ArrayList<>(); for (Integer i1 : Arrays.asList(1, 2, 3, 4)) { String valueOf = String.valueOf(i1); list4.add(valueOf); } Collection<Object> list5 = new ArrayList<>(); for (Integer integer : Arrays.asList(1, 2, 3, 4)) { String string = String.valueOf(integer); list5.add(string); } List<String> list = new ArrayList<>(); for (Integer i : Arrays.asList(1, 2, 3, 4)) { String s = String.valueOf(i); list.add(s); } Collection<?> list6 = list; }