@HashCodeAndEqualsPlugin.Enhance protected static class MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForAllArguments.Resolved extends Object implements MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.Resolved
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.Resolved.ForStackManipulation| Modifier | Constructor and Description |
|---|---|
protected |
Resolved(TypeDescription.Generic targetComponentType,
Assigner.Typing typing,
MemberSubstitution.Source source,
boolean includeSelf,
boolean nullIfEmpty,
Assigner assigner,
MethodDescription instrumentedMethod)
Creates a resolved version for an offset mapping of all arguments.
|
| Modifier and Type | Method and Description |
|---|---|
StackManipulation |
apply(MemberSubstitution.Target target,
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 targetComponentType, Assigner.Typing typing, MemberSubstitution.Source source, boolean includeSelf, boolean nullIfEmpty, Assigner assigner, MethodDescription instrumentedMethod)
targetComponentType - The component type of the annotated parameter.typing - The typing to use.source - The source providing the reference.includeSelf - true if the this reference should be included in the created array, if available.nullIfEmpty - true if null should be assigned to the parameter if no arguments are available.assigner - The assigner to use.instrumentedMethod - The instrumented method.public StackManipulation apply(MemberSubstitution.Target target, 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.Resolvedtarget - The target member of invokedynamic invocation.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.