void (List<RecordWithGeneric<RecordWithGeneric<String>>> list) { for (RecordWithGeneric<RecordWithGeneric<String>>(RecordWithGeneric<<warning descr="Wildcard type argument '?' extends 'final' class 'String'">?</warning> extends String>(var x)): list) { System.out.println(x); } }