Package net.bytebuddy.asm
Class Advice.MethodSizeHandler.Default.WithRetainedArguments
java.lang.Object
net.bytebuddy.asm.Advice.MethodSizeHandler.Default
net.bytebuddy.asm.Advice.MethodSizeHandler.Default.WithRetainedArguments
- All Implemented Interfaces:
Advice.MethodSizeHandler,Advice.MethodSizeHandler.ForInstrumentedMethod
- Enclosing class:
Advice.MethodSizeHandler.Default
protected static class Advice.MethodSizeHandler.Default.WithRetainedArguments
extends Advice.MethodSizeHandler.Default
A method size handler that expects that the original arguments are retained.
-
Nested Class Summary
Nested classes/interfaces inherited from class net.bytebuddy.asm.Advice.MethodSizeHandler.Default
Advice.MethodSizeHandler.Default.ForAdvice, Advice.MethodSizeHandler.Default.WithCopiedArguments, Advice.MethodSizeHandler.Default.WithRetainedArgumentsNested classes/interfaces inherited from interface net.bytebuddy.asm.Advice.MethodSizeHandler
Advice.MethodSizeHandler.Default, Advice.MethodSizeHandler.ForInstrumentedMethod, Advice.MethodSizeHandler.NoOp -
Field Summary
Fields inherited from class net.bytebuddy.asm.Advice.MethodSizeHandler.Default
initialTypes, instrumentedMethod, localVariableLength, postMethodTypes, preMethodTypes, stackSizeFields inherited from interface net.bytebuddy.asm.Advice.MethodSizeHandler
UNDEFINED_SIZE -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedWithRetainedArguments(MethodDescription instrumentedMethod, List<? extends TypeDescription> initialTypes, List<? extends TypeDescription> preMethodTypes, List<? extends TypeDescription> postMethodTypes) Creates a new default method size handler that expects that the original arguments are retained. -
Method Summary
Modifier and TypeMethodDescriptionbindExit(MethodDescription.InDefinedShape adviceMethod) Binds the method size handler for the exit advice.intcompoundLocalVariableLength(int localVariableLength) Computes a compound local variable array length for the advice and the translated instrumented method.Methods inherited from class net.bytebuddy.asm.Advice.MethodSizeHandler.Default
bindEnter, compoundStackSize, of, requireLocalVariableLength, requireStackSize