class Test { void foo(int... i) { if (i.lenght == 0) { } Param param = null; } void bar(){ foo(1, 2); } }