// "Replace iteration with bulk 'TestClass.test()' call" "true-preview" package testpackage; interface TestClass { Iterable test(Iterable entities); S test(S entity); } public class Main { public void test(TestClass repo, Iterable stringsToSave) { stringsToSave.forEach(repo::test); } }