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,
       Assigner.Typing typing)
Returns a stack manipulation that handles the method return. 
 | 
StackManipulation resolve(MethodDescription interceptedMethod, TypeDescription returnType, Assigner assigner, Assigner.Typing typing)
interceptedMethod - The method being intercepted.returnType - The return type of the instrumented method.assigner - The assigner to use.typing - Indicates if dynamic type castings should be attempted for incompatible assignments.Copyright © 2014–2016. All rights reserved.