In my example, of course on the left-hand side of the assignment I meant to write:
this.preProcessor = ...
(or equivalently thisProcess.interpreter.preprocessor = …)
I see what I was trying probably doesn't work because the thing return (from MyClass.class.findMethod('myMethod')) is not a regular Function, it's a Method. Is there a way to call a (class) Method as though it were a regular (closed) Function? For instance methods, I understand that you'd need to pass an instance of the object, but for class methods it should be capable of being "free-standing"...no?
Anyhow, I guess it doesn't matter, since doing the following works fine -- just wanted to know if there was another way by just assigning the class method:
this.preProcessor = MyClass.myMethod(_);
Thanks,
Glen.