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 instrumentedMethod,
Assigner assigner,
Assigner.Typing typing)
Returns a stack manipulation that handles the method return.
|
StackManipulation resolve(MethodDescription invokedMethod, MethodDescription instrumentedMethod, Assigner assigner, Assigner.Typing typing)
invokedMethod - The method that was invoked by the method call.instrumentedMethod - The method being intercepted.assigner - The assigner to be used.typing - Indicates if dynamic type castings should be attempted for incompatible assignments.Copyright © 2014–2016. All rights reserved.