class Test { void foo(int i) { if (i == 0) { } } void bar(){ foo(1); } }