import java.util.*; interface X { Iterable m(Iterable arg); } interface Y { Iterable m(Iterable arg); } interface Foo extends X, Y {}