// "Replace with forEach" "true"
import java.util.ArrayList;
import java.util.List;

class Sample {
  List<Exception> foo = new ArrayList<>();
  {
      foo.forEach(Exception::printStackTrace);
  }
}
