protected static class Advice.MethodSizeHandler.Default.WithCopiedArguments extends Advice.MethodSizeHandler.Default
Advice.MethodSizeHandler.Default.ForAdvice, Advice.MethodSizeHandler.Default.WithCopiedArguments, Advice.MethodSizeHandler.Default.WithRetainedArgumentsAdvice.MethodSizeHandler.Default, Advice.MethodSizeHandler.ForInstrumentedMethod, Advice.MethodSizeHandler.NoOpenterTypes, exitTypes, instrumentedMethod, localVariableLength, stackSizeUNDEFINED_SIZE| Modifier | Constructor and Description |
|---|---|
protected |
WithCopiedArguments(MethodDescription instrumentedMethod,
List<? extends TypeDescription> enterTypes,
List<? extends TypeDescription> exitTypes)
Creates a new default method size handler that expectes the original arguments to be copied.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compoundLocalVariableLength(int localVariableLength)
Computes a compound local variable array length for the advice and the translated instrumented method.
|
bindEnter, bindExit, compoundStackSize, of, requireLocalVariableLength, requireStackSizeprotected WithCopiedArguments(MethodDescription instrumentedMethod, List<? extends TypeDescription> enterTypes, List<? extends TypeDescription> exitTypes)
instrumentedMethod - The instrumented method.enterTypes - A list of virtual method arguments that are available before the instrumented method is executed.exitTypes - A list of virtual method arguments that are available after the instrumented method has completed.public int compoundLocalVariableLength(int localVariableLength)
Advice.MethodSizeHandler.ForInstrumentedMethodcompoundLocalVariableLength in interface Advice.MethodSizeHandler.ForInstrumentedMethodcompoundLocalVariableLength in class Advice.MethodSizeHandler.DefaultlocalVariableLength - The required local variable array length of the instrumented method before translation.Copyright © 2014–2018. All rights reserved.