// "Convert to local" "true" class Test { int getFoo1(boolean f) { int myFoo; if (f) { myFoo = 1; } else { myFoo = 2; } return myFoo; } }