public static interface Advice.MethodSizeHandler.ForAdvice extends Advice.MethodSizeHandler
Advice.MethodSizeHandler.Default, Advice.MethodSizeHandler.ForAdvice, Advice.MethodSizeHandler.ForInstrumentedMethod, Advice.MethodSizeHandler.NoOp
UNDEFINED_SIZE
Modifier and Type | Method and 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.
|
requireLocalVariableLength, requireStackSize
void requireStackSizePadding(int stackSizePadding)
stackSizePadding
- The required padding.void requireLocalVariableLengthPadding(int localVariableLengthPadding)
localVariableLengthPadding
- The required padding.void recordMaxima(int stackSize, int localVariableLength)
stackSize
- The minimum required stack size.localVariableLength
- The minimum required length of the local variable array.Copyright © 2014–2022. All rights reserved.