@magicalclick:

What is wrong with something like this? Integer is a ref type.

private void foo(Integer i) {
  i = 6;
}