I am trying to invoke this method in Java reflectively:
public void setFoo(ArrayList foo) { this.foo = foo; }
The problem is that
Try
method.invoke(new FooHolder(), new Object[]{ null });