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

    • Field Detail

      • 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 Detail

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