public class InvokeDispatcher<T> extends Object implements Dispatchable<T>
Constructor and Description |
---|
InvokeDispatcher(T target) |
Modifier and Type | Method and Description |
---|---|
Object |
dispatch(Method method,
Object[] args)
Dispatch the method and arguments to this object.
|
public InvokeDispatcher(T target)
public Object dispatch(Method method, Object[] args)
Dispatchable
dispatch
in interface Dispatchable<T>
method
- a method defined in class T
args
- arguments corresponding to said method
method