void (List<String> list) { List<String> res = list.stream().map(String::<warning descr="'String.toUpperCase()' called without specifying a Locale using internationalized strings">toUpperCase</warning>).collect(Collectors.toList()); }