Uses of Interface
net.bytebuddy.asm.MemberSubstitution.Substitution.Chain.Step.Factory
Packages that use MemberSubstitution.Substitution.Chain.Step.Factory
Package
Description
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.FactoryModifier and TypeClassDescriptionstatic class
A step that loads an argument to a method as the current chain value.protected static class
A factory that resolves a given argument of the instrumented method.protected static enum
A factory that resolves thethis
reference of the instrumented method.static class
A factory to create an argument substitution step.protected static class
A factory for creating a step for a dynamic type assignment.protected static class
A factory for creating a delegating step during a member substitution.static class
A factory for creating a field read step in a chain.static class
A factory for creating a step to write to a field.static class
A factory to create a step for a method invocation.static enum
A step that executes the original method invocation or field access.static class
A simple substitution step within a substitution chain.Fields in net.bytebuddy.asm with type parameters of type MemberSubstitution.Substitution.Chain.Step.FactoryModifier and TypeFieldDescriptionprivate final List
<MemberSubstitution.Substitution.Chain.Step.Factory> MemberSubstitution.Substitution.Chain.Factory.steps
The substitution steps to apply.Methods in net.bytebuddy.asm that return MemberSubstitution.Substitution.Chain.Step.FactoryModifier and TypeMethodDescriptionCreates a step factory that casts the current stack top value to the specified type.MemberSubstitution.Substitution.Chain.Step.ForAssignment.castTo
(TypeDescription.Generic typeDescription) Creates a step factory that casts the current stack top value to the specified type.MemberSubstitution.Substitution.Chain.Step.ForAssignment.castToSubstitutionResult()
Creates a step factory that casts the current stack top value to the expected return value.Resolves a step substitution factory for a compile-time constant to replace an argument value at a given index.Resolves a compile-time constant as the next step value.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.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.MemberSubstitution.Substitution.Chain.Step.ForArgumentLoading.ofThis()
Creates a factory that loads thethis
reference of the instrumented method.MemberSubstitution.Substitution.Chain.Step.ForDelegation.to
(Constructor<?> constructor) Returns a delegating step factory for the supplied constructor.Returns a delegating step factory for the supplied method.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.Substitution.Chain.Step.ForDelegation.to
(MethodDescription.InDefinedShape delegate, MemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher.Factory dispatcherFactory, 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.ForDelegation.WithCustomMapping.to
(Constructor<?> constructor) Returns a delegating step factory for the supplied constructor.Returns a delegating step factory for the supplied method.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.FactoryModifier and TypeMethodDescriptionMemberSubstitution.Substitution.Chain.Factory.executing
(MemberSubstitution.Substitution.Chain.Step.Factory... step) Appends the supplied steps to the substitution chain.MemberSubstitution.WithoutSpecification.replaceWithChain
(MemberSubstitution.Substitution.Chain.Step.Factory... 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.FactoryModifier and TypeMethodDescriptionMemberSubstitution.Substitution.Chain.Factory.executing
(List<? extends MemberSubstitution.Substitution.Chain.Step.Factory> steps) Appends the supplied steps to the substitution chain.MemberSubstitution.WithoutSpecification.replaceWithChain
(List<? extends MemberSubstitution.Substitution.Chain.Step.Factory> 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.FactoryModifierConstructorDescriptionprotected
Factory
(Assigner assigner, Assigner.Typing typing, List<MemberSubstitution.Substitution.Chain.Step.Factory> steps) Creates a new factory for a substitution chain.