Interface Advice.MethodSizeHandler.ForInstrumentedMethod

    • Method Detail

      • compoundStackSize

        int compoundStackSize​(int stackSize)
        Computes a compound stack size for the advice and the translated instrumented method.
        Parameters:
        stackSize - The required stack size of the instrumented method before translation.
        Returns:
        The stack size required by the instrumented method and its advice methods.
      • compoundLocalVariableLength

        int compoundLocalVariableLength​(int localVariableLength)
        Computes a compound local variable array length for the advice and the translated instrumented method.
        Parameters:
        localVariableLength - The required local variable array length of the instrumented method before translation.
        Returns:
        The local variable length required by the instrumented method and its advice methods.