public static interface Advice.AssignReturned.Handler
Advice.AssignReturned post processor to assign a value that was returned by
 advice to a value of the instrumented method.| Modifier and Type | Interface and Description | 
|---|---|
| static interface  | Advice.AssignReturned.Handler.Factory<T extends Annotation>A factory for resolving a handler for a given advice method. | 
| Modifier and Type | Method and Description | 
|---|---|
| int | getIndex()Returns the array offset which this handler intends to assign or a negative value if this handler
 intends to assign a scalar value. | 
| StackManipulation | resolve(TypeDescription instrumentedType,
       MethodDescription instrumentedMethod,
       Assigner assigner,
       Advice.ArgumentHandler argumentHandler,
       TypeDescription.Generic type,
       StackManipulation value)Resolves this handler. | 
int getIndex()
StackManipulation resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, TypeDescription.Generic type, StackManipulation value)
instrumentedType - The instrumented type.instrumentedMethod - The instrumented method.assigner - The assigner to use.argumentHandler - The argument handler for the handled advice method.type - The type that this handler receives for assignment.value - An instruction to load the handled value onto the operand stack.Copyright © 2014–2024. All rights reserved.