Class MethodCall.ArgumentLoader.ForMethodParameterArrayElement.OfParameter

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

@Enhance public static class MethodCall.ArgumentLoader.ForMethodParameterArrayElement.OfParameter extends Object implements MethodCall.ArgumentLoader.Factory, MethodCall.ArgumentLoader.ArgumentProvider
Creates an argument loader for an array element that of a specific parameter.
  • Field Details

    • index

      private final int index
      The parameter index.
    • arrayIndex

      private final int arrayIndex
      The array index to load.
  • Constructor Details

    • OfParameter

      public OfParameter(int index, int arrayIndex)
      Creates a factory for an argument loader that loads a given parameter's array value.
      Parameters:
      index - The index of the parameter.
      arrayIndex - The array index to load.
  • Method Details