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

    • Field Detail

      • stackManipulation

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

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

      • Factory

        public Factory​(StackManipulation stackManipulation,
                       java.lang.reflect.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.