Interface Advice.AssignReturned.Handler

    • Method Detail

      • getIndex

        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.
        Returns:
        The array offset which this handler intends to assign or a negative value if this handler intends to assign a scalar value.
      • resolve

        StackManipulation resolve​(TypeDescription instrumentedType,
                                  MethodDescription instrumentedMethod,
                                  Assigner assigner,
                                  Advice.ArgumentHandler argumentHandler,
                                  TypeDescription type,
                                  StackManipulation value)
        Resolves this handler.
        Parameters:
        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.
        Returns:
        The stack manipulation resolved by this handler.