@HashCodeAndEqualsPlugin.Enhance public static class MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForArgument extends Object implements MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping
| Modifier and Type | Class and Description |
|---|---|
protected static class |
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForArgument.Factory
A factory for creating an offset mapping for a parameter value of either the instrumented
method or the substituted element.
|
protected static class |
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForArgument.Resolved
A resolved offset mapping to the parameter of either the instrumented method or
the substituted element.
|
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForAllArguments, MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForArgument, MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForCurrent, MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForDynamicConstant, MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForField, MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForFieldHandle, MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForHandle, MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForOrigin, MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForSelfCallHandle, MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForStackManipulation, MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForStubValue, MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForThisReference| Constructor and Description |
|---|
ForArgument(TypeDescription.Generic targetType,
int index,
Assigner.Typing typing,
MemberSubstitution.Source source,
boolean optional)
Creates a new offset mapping for an argument to either the substituted expression or the instrumented method.
|
| Modifier and Type | Method and Description |
|---|---|
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.Resolved |
resolve(Assigner assigner,
Assigner.Typing typing,
TypeDescription instrumentedType,
MethodDescription instrumentedMethod)
Resolves an offset mapping for a given instrumented method.
|
public ForArgument(TypeDescription.Generic targetType, int index, @MaybeNull Assigner.Typing typing, MemberSubstitution.Source source, boolean optional)
targetType - A description of the targeted type.index - The index of the parameter.typing - The typing to use or null if the global typing setting should be applied.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.public MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.Resolved resolve(Assigner assigner, Assigner.Typing typing, TypeDescription instrumentedType, MethodDescription instrumentedMethod)
resolve in interface MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMappingassigner - The assigner to use.typing - The typing to use if no explicit typing is specified.instrumentedType - The instrumented type.instrumentedMethod - The instrumented method.Copyright © 2014–2025. All rights reserved.