blob: 1dbed313c13240790513c74cc504123a5221069c [file] [log] [blame]
// "Replace with collect" "true"
import java.util.*;
public abstract class Collect implements Collection<String>{
class Person {
String getName() {
return "";
}
}
void collectNames(List<Person> persons){
for (Person person : pers<caret>ons) {
add(person.getName());
}
}
}