Uses of Interface
net.bytebuddy.asm.MemberSubstitution.Substitution
Packages that use MemberSubstitution.Substitution
Package
Description
The ASM package contains classes that are meant for direct interaction with the ASM API.
-
Uses of MemberSubstitution.Substitution in net.bytebuddy.asm
Classes in net.bytebuddy.asm that implement MemberSubstitution.SubstitutionModifier and TypeClassDescriptionstatic class
A substitution chain allows for chaining multiple substitution steps for a byte code element being replaced.static class
A substitution with a field access.static class
A substitution with a method invocation.static class
A substitution that loads a fixed value.static enum
A substitution that drops any field or method access and returns the expected return type's default value, i.enull
or zero for primitive types.Fields in net.bytebuddy.asm declared as MemberSubstitution.SubstitutionModifier and TypeFieldDescriptionprivate final MemberSubstitution.Substitution
MemberSubstitution.Replacement.Binding.ForDynamicInvocation.substitution
The substitution to apply.private final MemberSubstitution.Substitution
MemberSubstitution.Replacement.Binding.ForMember.substitution
The substitution to apply.private final MemberSubstitution.Substitution
MemberSubstitution.Replacement.ForDynamicInvocation.substitution
The substitution to apply.private final MemberSubstitution.Substitution
MemberSubstitution.Replacement.ForElementMatchers.substitution
The substitution to trigger if a member is matched.Methods in net.bytebuddy.asm that return MemberSubstitution.SubstitutionModifier and TypeMethodDescriptionMemberSubstitution.Substitution.Chain.Factory.make
(TypeDescription instrumentedType, MethodDescription instrumentedMethod, TypePool typePool) Creates a substitution for an instrumented method.MemberSubstitution.Substitution.Factory.make
(TypeDescription instrumentedType, MethodDescription instrumentedMethod, TypePool typePool) Creates a substitution for an instrumented method.MemberSubstitution.Substitution.ForFieldAccess.OfGivenField.make
(TypeDescription instrumentedType, MethodDescription instrumentedMethod, TypePool typePool) Creates a substitution for an instrumented method.MemberSubstitution.Substitution.ForFieldAccess.OfMatchedField.make
(TypeDescription instrumentedType, MethodDescription instrumentedMethod, TypePool typePool) Creates a substitution for an instrumented method.MemberSubstitution.Substitution.ForMethodInvocation.OfGivenMethod.make
(TypeDescription instrumentedType, MethodDescription instrumentedMethod, TypePool typePool) Creates a substitution for an instrumented method.MemberSubstitution.Substitution.ForMethodInvocation.OfInstrumentedMethod.make
(TypeDescription instrumentedType, MethodDescription instrumentedMethod, TypePool typePool) Creates a substitution for an instrumented method.MemberSubstitution.Substitution.ForMethodInvocation.OfMatchedMethod.make
(TypeDescription instrumentedType, MethodDescription instrumentedMethod, TypePool typePool) Creates a substitution for an instrumented method.MemberSubstitution.Substitution.ForValue.make
(TypeDescription instrumentedType, MethodDescription instrumentedMethod, TypePool typePool) Creates a substitution for an instrumented method.MemberSubstitution.Substitution.Stubbing.make
(TypeDescription instrumentedType, MethodDescription instrumentedMethod, TypePool typePool) Creates a substitution for an instrumented method.Constructors in net.bytebuddy.asm with parameters of type MemberSubstitution.SubstitutionModifierConstructorDescriptionForDynamicInvocation
(JavaConstant.MethodType methodType, String name, List<JavaConstant> arguments, MemberSubstitution.Substitution substitution) Creates a resolved binding for an invokedynamic expression.protected
ForDynamicInvocation
(ElementMatcher<? super JavaConstant.MethodHandle> handleMatcher, ElementMatcher.Junction<? super String> nameMatcher, ElementMatcher.Junction<? super JavaConstant.MethodType> typeMatcher, ElementMatcher.Junction<? super List<JavaConstant>> argumentsMatcher, MemberSubstitution.Substitution substitution) Creates a replacement for an invokedynamic instruction.protected
ForElementMatchers
(ElementMatcher<? super FieldDescription> fieldMatcher, ElementMatcher<? super MethodDescription> methodMatcher, boolean matchFieldRead, boolean matchFieldWrite, boolean includeVirtualCalls, boolean includeSuperCalls, MemberSubstitution.Substitution substitution) Creates a new replacement that triggers a substitution based on a row of matchers.protected
ForMember
(TypeDescription receiver, ByteCodeElement.Member member, MemberSubstitution.Substitution substitution) Creates a new resolved binding.