void () { List<String> list = new ArrayList<String>(); list.add("Hello, World!"); final java.lang.String shouldBeString = list.get(0); final java.util.List<java.lang.String> shouldBeListOfString = list; final java.util.List<java.lang.String> shouldBeListOfStringToo = Arrays.asList("hello", "world"); final java.lang.String shouldBeString2 = shouldBeListOfString.get(0); }