package foo; import java.util.*; public interface B<T> { B<String> foo(List<String> x, String y); }