MethodDispatcher

constructor(instance: Any, methodName: String)

create a new MethodDispatcher. The instance will collect all matching methods of the supplied instance class.

Parameters

instance

the instance whose class provides the method definitions

methodName

the name of the methods that are to be searched for


constructor(methodName: String)

create a new MethodDispatcher. The instance will collect all matching methods of its own class.

Parameters

methodName

the name of the methods that are to be searched for


constructor(original: MethodDispatcher)