Class MemberSubstitution.Substitution.Chain.Step.ForInvocation

    • Field Detail

      • methodDescription

        private final MethodDescription methodDescription
        The invoked method or constructor.
      • substitutions

        private final java.util.Map<java.lang.Integer,​java.lang.Integer> substitutions
        A mapping of substituted parameter indices. For targets that are non-static methods, the targeted index is increased by one.
      • assigner

        private final Assigner assigner
        The assigner to use.
      • typing

        private final Assigner.Typing typing
        The typing to use when assigning.
    • Constructor Detail

      • ForInvocation

        protected ForInvocation​(MethodDescription methodDescription,
                                java.util.Map<java.lang.Integer,​java.lang.Integer> substitutions,
                                Assigner assigner,
                                Assigner.Typing typing)
        Creates a new step of an invocation.
        Parameters:
        methodDescription - The invoked method or constructor.
        substitutions - A mapping of substituted parameter indices. For targets that are non-static methods, the targeted index is increased by one.
        assigner - The assigner to use.
        typing - The typing to use when assigning.