Interface Advice.MethodSizeHandler

    • Field Detail

      • UNDEFINED_SIZE

        static final int UNDEFINED_SIZE
        Indicates that a size is not computed but handled directly by ASM.
        See Also:
        Constant Field Values
    • Method Detail

      • requireStackSize

        void requireStackSize​(int stackSize)
        Records a minimum stack size required by the represented advice method.
        Parameters:
        stackSize - The minimum size required by the represented advice method.
      • requireLocalVariableLength

        void requireLocalVariableLength​(int localVariableLength)
        Requires a minimum length of the local variable array.
        Parameters:
        localVariableLength - The minimal required length of the local variable array.