Class Advice.MethodSizeHandler.Default.WithCopiedArguments

java.lang.Object
net.bytebuddy.asm.Advice.MethodSizeHandler.Default
net.bytebuddy.asm.Advice.MethodSizeHandler.Default.WithCopiedArguments
All Implemented Interfaces:
Advice.MethodSizeHandler, Advice.MethodSizeHandler.ForInstrumentedMethod
Enclosing class:
Advice.MethodSizeHandler.Default

protected static class Advice.MethodSizeHandler.Default.WithCopiedArguments extends Advice.MethodSizeHandler.Default
A method size handler that expects that the original arguments were copied.
  • Constructor Details

    • WithCopiedArguments

      protected WithCopiedArguments(MethodDescription instrumentedMethod, List<? extends TypeDescription> initialTypes, List<? extends TypeDescription> preMethodTypes, List<? extends TypeDescription> postMethodTypes)
      Creates a new default method size handler that expects the original arguments to be copied.
      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