// "Replace with forEach" "true" import java.util.ArrayList; import java.util.List; class Sample { List foo = new ArrayList<>(); { foo.forEach(Throwable::printStackTrace); } }