public static interface Advice.MethodSizeHandler.ForAdvice extends Advice.MethodSizeHandler
Advice.MethodSizeHandler.Default, Advice.MethodSizeHandler.ForAdvice, Advice.MethodSizeHandler.ForInstrumentedMethod, Advice.MethodSizeHandler.NoOpUNDEFINED_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 |
recordPadding(int padding)
Records a minimum padding additionally to the computed stack size that is required for implementing this advice method.
|
void |
requireStackSize(int stackSize)
Records a minimum stack size required by the represented advice method.
|
requireLocalVariableLengthvoid requireStackSize(int stackSize)
stackSize - The minimum size required by the represented advice method.void recordMaxima(int stackSize,
int localVariableLength)
stackSize - The minimum required stack size.localVariableLength - The minimum required length of the local variable array.void recordPadding(int padding)
padding - The minimum required padding.Copyright © 2014–2017. All rights reserved.