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