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

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

@Enhance protected static class MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForThisReference.Resolved extends Object implements MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.Resolved
A resolved offset mapping for resolving the this reference.
  • Field Details

    • targetType

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

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

      private final MemberSubstitution.Source source
      The source providing the reference.
    • optional

      private final boolean optional
      true if null or a primitive 0 should be assigned to the parameter if no this reference is 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, Assigner.Typing typing, MemberSubstitution.Source source, boolean optional, Assigner assigner, MethodDescription instrumentedMethod)
      Creates a resolved offset mapping for assigning the this reference.
      Parameters:
      targetType - The targeted type.
      typing - The typing to use.
      source - The source providing the reference.
      optional - true if null or a primitive 0 should be assigned to the parameter if no this reference is available.
      assigner - The assigner to use.
      instrumentedMethod - The instrumented method.
  • Method Details