Class MemberSubstitution.Substitution.Chain.Step.ForArgumentSubstitution.Factory

java.lang.Object
net.bytebuddy.asm.MemberSubstitution.Substitution.Chain.Step.ForArgumentSubstitution.Factory
All Implemented Interfaces:
MemberSubstitution.Substitution.Chain.Step.Factory
Enclosing class:
MemberSubstitution.Substitution.Chain.Step.ForArgumentSubstitution

@Enhance public static class MemberSubstitution.Substitution.Chain.Step.ForArgumentSubstitution.Factory extends Object implements MemberSubstitution.Substitution.Chain.Step.Factory
A factory to create an argument substitution step.
  • Field Details

    • stackManipulation

      private final StackManipulation stackManipulation
      The stack manipulation that loads the substituted argument.
    • typeDescription

      private final TypeDescription.Generic typeDescription
      The type of the substituted argument.
    • index

      private final int index
      The index of the argument to substitute.
  • Constructor Details

    • Factory

      public Factory(StackManipulation stackManipulation, Type type, int index)
      Creates a factory for an argument substitution step.
      Parameters:
      stackManipulation - The stack manipulation that loads the substituted argument.
      type - The type of the substituted argument.
      index - The index of the argument to substitute.
    • Factory

      public Factory(StackManipulation stackManipulation, TypeDescription.Generic typeDescription, int index)
      Creates a factory for an argument substitution step.
      Parameters:
      stackManipulation - The stack manipulation that loads the substituted argument.
      typeDescription - The type of the substituted argument.
      index - The index of the argument to substitute.
  • Method Details