void (String[] args) { String[] params = new String[]{ "0", "1" }; method(new Object[]{params}); method(<warning descr="Redundant array creation for calling varargs method">new Object[]</warning>{"2", params}); method(<warning descr="Redundant array creation for calling varargs method">new Object[]</warning>{params, params}); }