Method
const class Method : Slot
Method models a function with a formal parameter list and return value (or Void if no return).
Convenience for func.call
Convenience for func.callOn
Get the function body of this method
Evaluate the parameter default using reflection
Type returned by the method or sys::Void if no return value
Get the parameters of the method
Convenience for func.callList
Obj? call(Obj? a, Obj? b, Obj? c, Obj? d, Obj? e, Obj? f, Obj? g, Obj? h)
Convenience for func.call
Obj? callList(Obj?[]? args)
Convenience for func.callList
Obj? callOn(Obj? target, Obj?[]? args)
Convenience for func.callOn
Func func()
Get the function body of this method.
Obj? paramDef(Param param, Obj? instance)
Evaluate the parameter default using reflection. If this method is static or a constructor, then instance should be null. Raise an exception if the parameter default cannot be evaluated independently (such as using an expression with previous parameters).
Param[] params()
Get the parameters of the method. Convenience for func.params.
Type returns()
Type returned by the method or sys::Void if no return value. Convenience for func.returns.