protected static interface MethodCall.TerminationHandler
MethodCall.| Modifier and Type | Interface and Description |
|---|---|
static class |
MethodCall.TerminationHandler.ForChainedInvocation
Drops the return value of the called method from the operand stack without returning from the intercepted
method.
|
static class |
MethodCall.TerminationHandler.ForMethodReturn
Returns the return value of the method call from the intercepted method.
|
| Modifier and Type | Method and Description |
|---|---|
StackManipulation |
resolve(MethodDescription invokedMethod,
MethodDescription interceptedMethod,
Assigner assigner,
boolean dynamicallyTyped)
Returns a stack manipulation that handles the method return.
|
StackManipulation resolve(MethodDescription invokedMethod, MethodDescription interceptedMethod, Assigner assigner, boolean dynamicallyTyped)
invokedMethod - The method that was invoked by the method call.interceptedMethod - The method being intercepted.assigner - The assigner to be used.dynamicallyTyped - true if type-castings should be applied.Copyright © 2014–2015. All rights reserved.