@HashCodeAndEqualsPlugin.Enhance public static class MemberSubstitution.Substitution.Chain.Step.ForArgumentSubstitution.Factory extends Object implements MemberSubstitution.Substitution.Chain.Step.Factory
Constructor and Description |
---|
Factory(StackManipulation stackManipulation,
TypeDescription.Generic typeDescription,
int index)
Creates a factory for an argument substitution step.
|
Factory(StackManipulation stackManipulation,
Type type,
int index)
Creates a factory for an argument substitution step.
|
Modifier and Type | Method and Description |
---|---|
MemberSubstitution.Substitution.Chain.Step |
make(Assigner assigner,
Assigner.Typing typing,
TypeDescription instrumentedType,
MethodDescription instrumentedMethod)
Creates a substitution step for an instrumented method.
|
public Factory(StackManipulation stackManipulation, Type type, int index)
stackManipulation
- The stack manipulation that loads the substituted argument.type
- The type of the substituted argument.index
- The index of the argument to substitute.public Factory(StackManipulation stackManipulation, TypeDescription.Generic typeDescription, int index)
stackManipulation
- The stack manipulation that loads the substituted argument.typeDescription
- The type of the substituted argument.index
- The index of the argument to substitute.public MemberSubstitution.Substitution.Chain.Step make(Assigner assigner, Assigner.Typing typing, TypeDescription instrumentedType, MethodDescription instrumentedMethod)
make
in interface MemberSubstitution.Substitution.Chain.Step.Factory
assigner
- The assigner to use.typing
- The typing to use.instrumentedType
- The instrumented type.instrumentedMethod
- The instrumented method.Copyright © 2014–2025. All rights reserved.