class Test { interface I { void m(T arg); } void foo(T1 arg, java.io.Serializable x) {} void foo(I arg, Cloneable x) {} void test(int[] array) { this.foo(p -> {}, array); } }