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.
  • Constructor Details

    • WithRetainedArguments

      protected WithRetainedArguments(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.
      Parameters:
      instrumentedMethod - The instrumented method.
      initialTypes - A list of virtual method arguments that are explicitly added before any code execution.
      preMethodTypes - A list of virtual method arguments that are available before the instrumented method is executed.
      postMethodTypes - A list of virtual method arguments that are available after the instrumented method has completed.
  • Method Details