Package net.bytebuddy.asm
Interface Advice.MethodSizeHandler.ForAdvice
-
- All Superinterfaces:
Advice.MethodSizeHandler
- All Known Implementing Classes:
Advice.MethodSizeHandler.Default.ForAdvice
,Advice.MethodSizeHandler.NoOp
- Enclosing interface:
- Advice.MethodSizeHandler
public static interface Advice.MethodSizeHandler.ForAdvice extends Advice.MethodSizeHandler
A method size handler for an advice method.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.bytebuddy.asm.Advice.MethodSizeHandler
Advice.MethodSizeHandler.Default, Advice.MethodSizeHandler.ForAdvice, Advice.MethodSizeHandler.ForInstrumentedMethod, Advice.MethodSizeHandler.NoOp
-
-
Field Summary
-
Fields inherited from interface net.bytebuddy.asm.Advice.MethodSizeHandler
UNDEFINED_SIZE
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
recordMaxima(int stackSize, int localVariableLength)
Records the maximum values for stack size and local variable array which are required by the advice method for its individual execution without translation.void
requireLocalVariableLengthPadding(int localVariableLengthPadding)
Requires additional padding for the local variable array that is required for this advice's execution.void
requireStackSizePadding(int stackSizePadding)
Requires additional padding for the operand stack that is required for this advice's execution.-
Methods inherited from interface net.bytebuddy.asm.Advice.MethodSizeHandler
requireLocalVariableLength, requireStackSize
-
-
-
-
Method Detail
-
requireStackSizePadding
void requireStackSizePadding(int stackSizePadding)
Requires additional padding for the operand stack that is required for this advice's execution.- Parameters:
stackSizePadding
- The required padding.
-
requireLocalVariableLengthPadding
void requireLocalVariableLengthPadding(int localVariableLengthPadding)
Requires additional padding for the local variable array that is required for this advice's execution.- Parameters:
localVariableLengthPadding
- The required padding.
-
recordMaxima
void recordMaxima(int stackSize, int localVariableLength)
Records the maximum values for stack size and local variable array which are required by the advice method for its individual execution without translation.- Parameters:
stackSize
- The minimum required stack size.localVariableLength
- The minimum required length of the local variable array.
-
-