class List {} class Test { List asList(T... ts) { return null; } void foo () { asList(new Integer[0], new Integer[0]); } }