Class MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForArgument.Resolved

    • Field Detail

      • index

        private final int index
        The index of the parameter.
      • typing

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

        private final boolean optional
        true if null or a primitive 0 should be assigned to the parameter if the provided index is not available.
      • assigner

        private final Assigner assigner
        The assigner to use.
      • instrumentedMethod

        private final MethodDescription instrumentedMethod
        The instrumented method.
    • Constructor Detail

      • Resolved

        protected Resolved​(TypeDescription.Generic targetType,
                           int index,
                           Assigner.Typing typing,
                           MemberSubstitution.Source source,
                           boolean optional,
                           Assigner assigner,
                           MethodDescription instrumentedMethod)
        Creates a resolved offset mapping for assigning a parameter.
        Parameters:
        targetType - The targeted type.
        index - The index of the parameter.
        typing - The typing to use when assigning.
        source - The source providing the argument.
        optional - true if null or a primitive 0 should be assigned to the parameter if the provided index is not available.
        assigner - The assigner to use.
        instrumentedMethod - The instrumented method.