// "Fix all 'Immutable collection creation can be replaced with collection factory call' problems in file" "true" import java.util.*; class Main { private final List myList; private final Map myMap; private final Set mySet; Main(Collection list, Map map, Set set) { myList = List.copyOf(list); myMap = Map.copyOf(map); mySet = Set.copyOf(set); } }