interface Test { final class Inner { void func() { of(""); of(); of("", ""); } } static void of(String... lists) { } } interface Entry { } interface ClassA { static void f(Iterable values) { } } interface ClassB extends ClassA> { static void f(Iterable> values) {} static void m(Iterable> x) { f(x); } }