Uses of Interface
net.bytebuddy.asm.MemberSubstitution.Substitution
-
Packages that use MemberSubstitution.Substitution Package Description net.bytebuddy.asm 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.Substitution Modifier and Type Class Description static class
MemberSubstitution.Substitution.Chain<S extends MemberSubstitution.Target>
A substitution chain allows for chaining multiple substitution steps for a byte code element being replaced.static class
MemberSubstitution.Substitution.ForFieldAccess
A substitution with a field access.static class
MemberSubstitution.Substitution.ForMethodInvocation
A substitution with a method invocation.static class
MemberSubstitution.Substitution.ForValue
A substitution that loads a fixed value.static class
MemberSubstitution.Substitution.Stubbing
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.Substitution Modifier and Type Field Description private MemberSubstitution.Substitution<? super MemberSubstitution.Target.ForDynamicInvocation>
MemberSubstitution.Replacement.Binding.ForDynamicInvocation. substitution
The substitution to apply.private MemberSubstitution.Substitution<? super MemberSubstitution.Target.ForMember>
MemberSubstitution.Replacement.Binding.ForMember. substitution
The substitution to apply.private MemberSubstitution.Substitution<? super MemberSubstitution.Target.ForDynamicInvocation>
MemberSubstitution.Replacement.ForDynamicInvocation. substitution
The substitution to apply.private MemberSubstitution.Substitution<? super MemberSubstitution.Target.ForMember>
MemberSubstitution.Replacement.ForElementMatchers. substitution
The substitution to trigger if a member is matched.Methods in net.bytebuddy.asm that return MemberSubstitution.Substitution Modifier and Type Method Description MemberSubstitution.Substitution<? super U>
MemberSubstitution.Substitution.Chain.Factory. make(TypeDescription instrumentedType, MethodDescription instrumentedMethod, TypePool typePool)
Creates a substitution for an instrumented method.MemberSubstitution.Substitution<? super S>
MemberSubstitution.Substitution.Factory. make(TypeDescription instrumentedType, MethodDescription instrumentedMethod, TypePool typePool)
Creates a substitution for an instrumented method.MemberSubstitution.Substitution<MemberSubstitution.Target>
MemberSubstitution.Substitution.ForFieldAccess.OfGivenField. make(TypeDescription instrumentedType, MethodDescription instrumentedMethod, TypePool typePool)
Creates a substitution for an instrumented method.MemberSubstitution.Substitution<MemberSubstitution.Target>
MemberSubstitution.Substitution.ForFieldAccess.OfMatchedField. make(TypeDescription instrumentedType, MethodDescription instrumentedMethod, TypePool typePool)
Creates a substitution for an instrumented method.MemberSubstitution.Substitution<MemberSubstitution.Target>
MemberSubstitution.Substitution.ForMethodInvocation.OfGivenMethod. make(TypeDescription instrumentedType, MethodDescription instrumentedMethod, TypePool typePool)
Creates a substitution for an instrumented method.MemberSubstitution.Substitution<MemberSubstitution.Target>
MemberSubstitution.Substitution.ForMethodInvocation.OfInstrumentedMethod. make(TypeDescription instrumentedType, MethodDescription instrumentedMethod, TypePool typePool)
Creates a substitution for an instrumented method.MemberSubstitution.Substitution<MemberSubstitution.Target>
MemberSubstitution.Substitution.ForMethodInvocation.OfMatchedMethod. make(TypeDescription instrumentedType, MethodDescription instrumentedMethod, TypePool typePool)
Creates a substitution for an instrumented method.MemberSubstitution.Substitution<MemberSubstitution.Target>
MemberSubstitution.Substitution.ForValue. make(TypeDescription instrumentedType, MethodDescription instrumentedMethod, TypePool typePool)
Creates a substitution for an instrumented method.MemberSubstitution.Substitution<MemberSubstitution.Target>
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.Substitution Constructor Description ForDynamicInvocation(JavaConstant.MethodType methodType, java.lang.String name, java.util.List<JavaConstant> arguments, MemberSubstitution.Substitution<? super MemberSubstitution.Target.ForDynamicInvocation> substitution)
Creates a resolved binding for an invokedynamic expression.ForDynamicInvocation(ElementMatcher<? super JavaConstant.MethodHandle> handleMatcher, ElementMatcher.Junction<? super java.lang.String> nameMatcher, ElementMatcher.Junction<? super JavaConstant.MethodType> typeMatcher, ElementMatcher.Junction<? super java.util.List<JavaConstant>> argumentsMatcher, MemberSubstitution.Substitution<? super MemberSubstitution.Target.ForDynamicInvocation> substitution)
Creates a replacement for an invokedynamic instruction.ForElementMatchers(ElementMatcher<? super FieldDescription> fieldMatcher, ElementMatcher<? super MethodDescription> methodMatcher, boolean matchFieldRead, boolean matchFieldWrite, boolean includeVirtualCalls, boolean includeSuperCalls, MemberSubstitution.Substitution<? super MemberSubstitution.Target.ForMember> substitution)
Creates a new replacement that triggers a substitution based on a row of matchers.ForMember(TypeDescription receiver, ByteCodeElement.Member member, MemberSubstitution.Substitution<? super MemberSubstitution.Target.ForMember> substitution)
Creates a new resolved binding.
-