public interface MethodReplacer
Such methods may be (but need not be) abstract, in which case the container will create a concrete subclass to instantiate.
Modifier and Type | Method and Description |
---|---|
Object |
reimplement(Object obj,
Method method,
Object[] args)
Reimplement the given method.
|
Object reimplement(Object obj, Method method, Object[] args) throws Throwable
obj
- the instance we're reimplementing the method formethod
- the method to reimplementargs
- arguments to the methodThrowable