Class MethodCall.ArgumentLoader.ForMethodParameter.Factory

java.lang.Object
net.bytebuddy.implementation.MethodCall.ArgumentLoader.ForMethodParameter.Factory
All Implemented Interfaces:
InstrumentedType.Prepareable, MethodCall.ArgumentLoader.ArgumentProvider, MethodCall.ArgumentLoader.Factory
Enclosing class:
MethodCall.ArgumentLoader.ForMethodParameter

@Enhance public static class MethodCall.ArgumentLoader.ForMethodParameter.Factory extends Object implements MethodCall.ArgumentLoader.Factory, MethodCall.ArgumentLoader.ArgumentProvider
A factory for an argument loader that supplies a method parameter as an argument.
  • Field Details

    • index

      private final int index
      The index of the parameter to be loaded onto the operand stack.
  • Constructor Details

    • Factory

      public Factory(int index)
      Creates a factory for an argument loader that supplies a method parameter as an argument.
      Parameters:
      index - The index of the parameter to supply.
  • Method Details