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