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

java.lang.Object
net.bytebuddy.asm.MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForArgument.Resolved
All Implemented Interfaces:
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.Resolved
Enclosing class:
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForArgument

@Enhance protected static class MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForArgument.Resolved extends Object implements MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.Resolved
A resolved offset mapping to the parameter of either the instrumented method or the substituted element.
  • Field Details

    • targetType

      private final TypeDescription.Generic targetType
      The targeted type.
    • index

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

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

      private final MemberSubstitution.Source source
      The source providing the argument.
    • 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 Details

    • 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.
  • Method Details