protected static interface InvokeDynamic.TerminationHandler
InvokeDynamic
.Modifier and Type | Interface and Description |
---|---|
static class |
InvokeDynamic.TerminationHandler.ForChainedInvocation
Drops the return value of the dynamic invocation from the operand stack without returning from the
intercepted method.
|
static class |
InvokeDynamic.TerminationHandler.ForMethodReturn
Returns the return value of the dynamic invocation from the intercepted method.
|
Modifier and Type | Method and Description |
---|---|
StackManipulation |
resolve(MethodDescription interceptedMethod,
TypeDescription returnType,
Assigner assigner,
boolean dynamicallyTyped)
Returns a stack manipulation that handles the method return.
|
StackManipulation resolve(MethodDescription interceptedMethod, TypeDescription returnType, Assigner assigner, boolean dynamicallyTyped)
interceptedMethod
- The method being intercepted.returnType
- The return type of the instrumented method.assigner
- The assigner to use.dynamicallyTyped
- true
if the assigner should attempt to apply dynamic type conversion.Copyright © 2014–2015. All rights reserved.