The code, as written, is how I have used it for ages.
Whatever you give it, it returns a javaobject representation of it, thus allowing use of runmethod on it.
It's the same as
Code:
Dim jo as javaobject = anobject
jo.runmethod(......)
But in one line.