Class MemberSubstitution.Substitution.Chain.Step.ForArgumentSubstitution

    • Field Detail

      • substitution

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

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

        private final Assigner assigner
        The assigner to use for assigning the argument.
      • typing

        private final Assigner.Typing typing
        The typing to use for the argument assignment.
    • Constructor Detail

      • ForArgumentSubstitution

        protected ForArgumentSubstitution​(StackManipulation substitution,
                                          TypeDescription.Generic typeDescription,
                                          int index,
                                          Assigner assigner,
                                          Assigner.Typing typing)
        Creates an argument substitution step.
        Parameters:
        substitution - The stack manipulation that loads the substituted argument.
        typeDescription - The type of the substituted argument.
        index - The index of the argument to substitute.
        assigner - The assigner to use for assigning the argument.
        typing - The typing to use for the argument assignment.