public static interface Advice.MethodSizeHandler.ForInstrumentedMethod extends Advice.MethodSizeHandler
Advice.MethodSizeHandler.Default, Advice.MethodSizeHandler.ForAdvice, Advice.MethodSizeHandler.ForInstrumentedMethod, Advice.MethodSizeHandler.NoOpUNDEFINED_SIZE| Modifier and Type | Method and Description |
|---|---|
Advice.MethodSizeHandler.ForAdvice |
bindEnter(MethodDescription.InDefinedShape adviceMethod)
Binds a method size handler for the enter advice.
|
Advice.MethodSizeHandler.ForAdvice |
bindExit(MethodDescription.InDefinedShape adviceMethod)
Binds the method size handler for the exit advice.
|
int |
compoundLocalVariableLength(int localVariableLength)
Computes a compound local variable array length for the advice and the translated instrumented method.
|
int |
compoundStackSize(int stackSize)
Computes a compound stack size for the advice and the translated instrumented method.
|
requireLocalVariableLength, requireStackSizeAdvice.MethodSizeHandler.ForAdvice bindEnter(MethodDescription.InDefinedShape adviceMethod)
adviceMethod - The method representing the enter advice.Advice.MethodSizeHandler.ForAdvice bindExit(MethodDescription.InDefinedShape adviceMethod)
adviceMethod - The method representing the exit advice.int compoundStackSize(int stackSize)
stackSize - The required stack size of the instrumented method before translation.int compoundLocalVariableLength(int localVariableLength)
localVariableLength - The required local variable array length of the instrumented method before translation.Copyright © 2014–2023. All rights reserved.