Package net.bytebuddy.asm
Class MemberSubstitution.Substitution.Chain.Step.ForArgumentLoading.OfInstrumentedMethod
- java.lang.Object
-
- net.bytebuddy.asm.MemberSubstitution.Substitution.Chain.Step.ForArgumentLoading.OfInstrumentedMethod
-
- All Implemented Interfaces:
MemberSubstitution.Substitution.Chain.Step.Factory<MemberSubstitution.Target>
- Enclosing class:
- MemberSubstitution.Substitution.Chain.Step.ForArgumentLoading
@Enhance protected static class MemberSubstitution.Substitution.Chain.Step.ForArgumentLoading.OfInstrumentedMethod extends java.lang.Object implements MemberSubstitution.Substitution.Chain.Step.Factory<MemberSubstitution.Target>
A factory that resolves a given argument of the instrumented method.
-
-
Field Summary
Fields Modifier and Type Field Description private intindexThe index of the argument to load.
-
Constructor Summary
Constructors Modifier Constructor Description protectedOfInstrumentedMethod(int index)Creates a new factory for resolving an argument of the instrumented method.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MemberSubstitution.Substitution.Chain.Step<MemberSubstitution.Target>make(Assigner assigner, Assigner.Typing typing, TypeDescription instrumentedType, MethodDescription instrumentedMethod)Creates a substitution step for an instrumented method.
-
-
-
Method Detail
-
make
public MemberSubstitution.Substitution.Chain.Step<MemberSubstitution.Target> make(Assigner assigner, Assigner.Typing typing, TypeDescription instrumentedType, MethodDescription instrumentedMethod)
Creates a substitution step for an instrumented method.- Specified by:
makein interfaceMemberSubstitution.Substitution.Chain.Step.Factory<MemberSubstitution.Target>- Parameters:
assigner- The assigner to use.typing- The typing to use.instrumentedType- The instrumented type.instrumentedMethod- The instrumented method.- Returns:
- The substitution step to apply.
-
-