Uses of Interface
net.bytebuddy.asm.MemberSubstitution.Substitution.Chain.Step.Factory
-
Packages that use MemberSubstitution.Substitution.Chain.Step.Factory Package Description net.bytebuddy.asm The ASM package contains classes that are meant for direct interaction with the ASM API. -
-
Uses of MemberSubstitution.Substitution.Chain.Step.Factory in net.bytebuddy.asm
Classes in net.bytebuddy.asm that implement MemberSubstitution.Substitution.Chain.Step.Factory Modifier and Type Class Description static class
MemberSubstitution.Substitution.Chain.Step.ForArgumentLoading
A step that loads an argument to a method as the current chain value.protected static class
MemberSubstitution.Substitution.Chain.Step.ForArgumentLoading.OfInstrumentedMethod
A factory that resolves a given argument of the instrumented method.protected static class
MemberSubstitution.Substitution.Chain.Step.ForArgumentLoading.OfInstrumentedMethodThis
A factory that resolves thethis
reference of the instrumented method.static class
MemberSubstitution.Substitution.Chain.Step.ForArgumentSubstitution.Factory
A factory to create an argument substitution step.protected static class
MemberSubstitution.Substitution.Chain.Step.ForAssignment.Factory
A factory for creating a step for a dynamic type assignment.protected static class
MemberSubstitution.Substitution.Chain.Step.ForDelegation.Factory
A factory for creating a delegating step during a member substitution.static class
MemberSubstitution.Substitution.Chain.Step.ForField.Read.Factory
A factory for creating a field read step in a chain.static class
MemberSubstitution.Substitution.Chain.Step.ForField.Write.Factory
A factory for creating a step to write to a field.static class
MemberSubstitution.Substitution.Chain.Step.ForInvocation.Factory
A factory to create a step for a method invocation.static class
MemberSubstitution.Substitution.Chain.Step.OfOriginalExpression
A step that executes the original method invocation or field access.static class
MemberSubstitution.Substitution.Chain.Step.Simple
A simple substitution step within a substitution chain.Fields in net.bytebuddy.asm with type parameters of type MemberSubstitution.Substitution.Chain.Step.Factory Modifier and Type Field Description private java.util.List<MemberSubstitution.Substitution.Chain.Step.Factory<? super U>>
MemberSubstitution.Substitution.Chain.Factory. steps
The substitution steps to apply.Methods in net.bytebuddy.asm that return MemberSubstitution.Substitution.Chain.Step.Factory Modifier and Type Method Description static MemberSubstitution.Substitution.Chain.Step.Factory<MemberSubstitution.Target>
MemberSubstitution.Substitution.Chain.Step.ForAssignment. castTo(java.lang.reflect.Type type)
Creates a step factory that casts the current stack top value to the specified type.static MemberSubstitution.Substitution.Chain.Step.Factory<MemberSubstitution.Target>
MemberSubstitution.Substitution.Chain.Step.ForAssignment. castTo(TypeDescription.Generic typeDescription)
Creates a step factory that casts the current stack top value to the specified type.static MemberSubstitution.Substitution.Chain.Step.Factory<MemberSubstitution.Target>
MemberSubstitution.Substitution.Chain.Step.ForAssignment. castToSubstitutionResult()
Creates a step factory that casts the current stack top value to the expected return value.static MemberSubstitution.Substitution.Chain.Step.Factory<MemberSubstitution.Target>
MemberSubstitution.Substitution.Chain.Step.ForArgumentSubstitution. of(java.lang.Object value, int index)
Resolves a step substitution factory for a compile-time constant to replace an argument value at a given index.static MemberSubstitution.Substitution.Chain.Step.Factory<MemberSubstitution.Target>
MemberSubstitution.Substitution.Chain.Step.Simple. of(java.lang.Object value)
Resolves a compile-time constant as the next step value.static MemberSubstitution.Substitution.Chain.Step.Factory<MemberSubstitution.Target>
MemberSubstitution.Substitution.Chain.Step.ForArgumentLoading. ofInstrumentedMethod(int index)
Creates a factory that loads the argument for the instrumented method's parameter of the specified index.static MemberSubstitution.Substitution.Chain.Step.Factory<MemberSubstitution.Target>
MemberSubstitution.Substitution.Chain.Step.ForArgumentLoading. ofTarget(int index)
Creates a factory that loads the argument for the targeted value's parameter of the specified index.static MemberSubstitution.Substitution.Chain.Step.Factory<MemberSubstitution.Target>
MemberSubstitution.Substitution.Chain.Step.ForArgumentLoading. ofThis()
Creates a factory that loads thethis
reference of the instrumented method.static MemberSubstitution.Substitution.Chain.Step.Factory<MemberSubstitution.Target>
MemberSubstitution.Substitution.Chain.Step.ForDelegation. to(java.lang.reflect.Constructor<?> constructor)
Returns a delegating step factory for the supplied constructor.static MemberSubstitution.Substitution.Chain.Step.Factory<MemberSubstitution.Target>
MemberSubstitution.Substitution.Chain.Step.ForDelegation. to(java.lang.reflect.Method method)
Returns a delegating step factory for the supplied method.static MemberSubstitution.Substitution.Chain.Step.Factory<MemberSubstitution.Target>
MemberSubstitution.Substitution.Chain.Step.ForDelegation. to(MethodDescription.InDefinedShape methodDescription)
Returns a delegating step factory for the supplied method description..private static MemberSubstitution.Substitution.Chain.Step.Factory<MemberSubstitution.Target>
MemberSubstitution.Substitution.Chain.Step.ForDelegation. to(MethodDescription.InDefinedShape delegate, MemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher.Factory dispatcherFactory, java.util.List<? extends MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.Factory<?>> userFactories)
Creates an appropriate step factory for the given delegate method, dispatcher factory and user factories.MemberSubstitution.Substitution.Chain.Step.Factory<MemberSubstitution.Target>
MemberSubstitution.Substitution.Chain.Step.ForDelegation.WithCustomMapping. to(java.lang.reflect.Constructor<?> constructor)
Returns a delegating step factory for the supplied constructor.MemberSubstitution.Substitution.Chain.Step.Factory<MemberSubstitution.Target>
MemberSubstitution.Substitution.Chain.Step.ForDelegation.WithCustomMapping. to(java.lang.reflect.Method method)
Returns a delegating step factory for the supplied method.MemberSubstitution.Substitution.Chain.Step.Factory<MemberSubstitution.Target>
MemberSubstitution.Substitution.Chain.Step.ForDelegation.WithCustomMapping. to(MethodDescription.InDefinedShape methodDescription)
Returns a delegating step factory for the supplied method description.Methods in net.bytebuddy.asm with parameters of type MemberSubstitution.Substitution.Chain.Step.Factory Modifier and Type Method Description MemberSubstitution.Substitution.Chain.Factory<U>
MemberSubstitution.Substitution.Chain.Factory. executing(MemberSubstitution.Substitution.Chain.Step.Factory<? super U>... step)
Appends the supplied steps to the substitution chain.MemberSubstitution
MemberSubstitution.WithoutSpecification. replaceWithChain(MemberSubstitution.Substitution.Chain.Step.Factory<? super T>... step)
Replaces the matched byte code elements with a chain of substitutions that can operate on the same values as the substituted element.Method parameters in net.bytebuddy.asm with type arguments of type MemberSubstitution.Substitution.Chain.Step.Factory Modifier and Type Method Description MemberSubstitution.Substitution.Chain.Factory<U>
MemberSubstitution.Substitution.Chain.Factory. executing(java.util.List<? extends MemberSubstitution.Substitution.Chain.Step.Factory<? super U>> steps)
Appends the supplied steps to the substitution chain.MemberSubstitution
MemberSubstitution.WithoutSpecification. replaceWithChain(java.util.List<? extends MemberSubstitution.Substitution.Chain.Step.Factory<? super T>> steps)
Replaces the matched byte code elements with a chain of substitutions that can operate on the same values as the substituted element.Constructor parameters in net.bytebuddy.asm with type arguments of type MemberSubstitution.Substitution.Chain.Step.Factory Constructor Description Factory(Assigner assigner, Assigner.Typing typing, java.util.List<MemberSubstitution.Substitution.Chain.Step.Factory<? super U>> steps)
Creates a new factory for a substitution chain.
-