public class Foo { void test(int i) { if (i > 1) { i = 1; } } }