@HashCodeAndEqualsPlugin.Enhance protected static class MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForThisReference.Resolved extends Object implements MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.Resolved
this
reference.MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.Resolved.ForStackManipulation
Modifier | Constructor and Description |
---|---|
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. |
Modifier and Type | Method and Description |
---|---|
StackManipulation |
apply(TypeDescription receiver,
ByteCodeElement.Member original,
TypeList.Generic parameters,
TypeDescription.Generic result,
TypeDescription.Generic current,
JavaConstant.MethodHandle methodHandle,
Map<Integer,Integer> offsets,
int offset)
Applies this offset mapping.
|
protected Resolved(TypeDescription.Generic targetType, Assigner.Typing typing, MemberSubstitution.Source source, boolean optional, Assigner assigner, MethodDescription instrumentedMethod)
this
reference.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.public StackManipulation apply(TypeDescription receiver, ByteCodeElement.Member original, TypeList.Generic parameters, TypeDescription.Generic result, TypeDescription.Generic current, JavaConstant.MethodHandle methodHandle, Map<Integer,Integer> offsets, int offset)
apply
in interface MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.Resolved
receiver
- The target type of the invoked delegate.original
- The substituted element.parameters
- The parameters that are supplied to the substituted expression.result
- The resulting type of the substituted expression.current
- The type of the value that was produced by the previous step in the substitution chain.methodHandle
- A method handle that represents the substituted element.offsets
- The offsets of the supplied parameters.offset
- The offset of the value that was produced by the previous step.Copyright © 2014–2025. All rights reserved.