// "Replace iteration with bulk 'Collection.addAll()' call" "true-preview" import java.util.*; public class Main { static class MyList extends AbstractCollection { @Override public Iterator iterator() { return Collections.emptyIterator(); } @Override public int size() { return 0; } public boolean myAdd(Collection c) { for (String e : c) { this.add(e); } return true; } } }