Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/useBulkOperation/afterGenericMethod.java
T
2022-01-31 10:13:13 +00:00

13 lines
344 B
Java

// "Replace iteration with bulk 'TestClass.test()' call" "true"
package testpackage;
interface TestClass<T> {
<S extends T> Iterable<S> test(Iterable<S> entities);
<S extends T> S test(S entity);
}
public class Main {
public void test(TestClass<CharSequence> repo, Iterable<String> stringsToSave) {
repo.test(stringsToSave);
}
}