MethodReplaceStrategyImplpublic interface MethodReplaceStrategy
| Modifier and Type | Method | Description |
|---|---|---|
void |
with(InvocationHandler invocationHandler) |
Replaces the method invocation with an invocation handler
|
void |
with(Method method) |
Replaces the method invocation with this method.
|
void with(Method method)
Note that both methods needs to be static.
method - The method call will be replaced by this method instead. Needs
to be static.void with(InvocationHandler invocationHandler)
invocationHandler - The invocation handler to replace the method call with.Copyright © 2007–2019. All rights reserved.