Uses of Class
net.bytebuddy.asm.MemberSubstitution.Target.ForMember
-
Packages that use MemberSubstitution.Target.ForMember Package Description net.bytebuddy.asm The ASM package contains classes that are meant for direct interaction with the ASM API. -
-
Uses of MemberSubstitution.Target.ForMember in net.bytebuddy.asm
Fields in net.bytebuddy.asm with type parameters of type MemberSubstitution.Target.ForMember Modifier and Type Field Description private MemberSubstitution.Substitution<? super MemberSubstitution.Target.ForMember>
MemberSubstitution.Replacement.Binding.ForMember. 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.private MemberSubstitution.Substitution.Factory<? super MemberSubstitution.Target.ForMember>
MemberSubstitution.Replacement.ForElementMatchers.Factory. substitutionFactory
The substitution factory to create a substitution from.Methods in net.bytebuddy.asm that return types with arguments of type MemberSubstitution.Target.ForMember Modifier and Type Method Description MemberSubstitution.WithoutSpecification<MemberSubstitution.Target.ForMember>
MemberSubstitution. constructor(ElementMatcher<? super MethodDescription> matcher)
Substitutes any constructor invocation that matches the given matcher.MemberSubstitution.WithoutSpecification<MemberSubstitution.Target.ForMember>
MemberSubstitution. element(ElementMatcher<? super ByteCodeElement.Member> matcher)
Substitutes any interaction with a field or method that matches the given matcher.MemberSubstitution.WithoutSpecification<MemberSubstitution.Target.ForMember>
MemberSubstitution. invokable(ElementMatcher<? super MethodDescription> matcher)
Substitutes any method or constructor invocation that matches the given matcher.MemberSubstitution.WithoutSpecification<MemberSubstitution.Target.ForMember>
MemberSubstitution.WithoutSpecification.ForMatchedField. onRead()
When invoked, only read access of the previously matched field is substituted.MemberSubstitution.WithoutSpecification<MemberSubstitution.Target.ForMember>
MemberSubstitution.WithoutSpecification.ForMatchedMethod. onSuperCall()
Limits the substituted method calls to method calls that invoke a method as asuper
call.MemberSubstitution.WithoutSpecification<MemberSubstitution.Target.ForMember>
MemberSubstitution.WithoutSpecification.ForMatchedMethod. onVirtualCall()
Limits the substituted method calls to method calls that invoke a method virtually (as opposed to asuper
invocation).MemberSubstitution.WithoutSpecification<MemberSubstitution.Target.ForMember>
MemberSubstitution.WithoutSpecification.ForMatchedField. onWrite()
When invoked, only write access of the previously matched field is substituted.Method parameters in net.bytebuddy.asm with type arguments of type MemberSubstitution.Target.ForMember Modifier and Type Method Description protected static MemberSubstitution.Replacement.Factory
MemberSubstitution.Replacement.ForElementMatchers.Factory. of(ElementMatcher<? super ByteCodeElement.Member> matcher, MemberSubstitution.Substitution.Factory<? super MemberSubstitution.Target.ForMember> factory)
Creates a factory for applying a substitution on all matched byte code elements for all access types.protected static MemberSubstitution.Replacement.Factory
MemberSubstitution.Replacement.ForElementMatchers.Factory. ofField(ElementMatcher<? super FieldDescription> matcher, boolean matchFieldRead, boolean matchFieldWrite, MemberSubstitution.Substitution.Factory<? super MemberSubstitution.Target.ForMember> factory)
Creates a factory that only matches field access for given access types.protected static MemberSubstitution.Replacement.Factory
MemberSubstitution.Replacement.ForElementMatchers.Factory. ofMethod(ElementMatcher<? super MethodDescription> matcher, boolean includeVirtualCalls, boolean includeSuperCalls, MemberSubstitution.Substitution.Factory<? super MemberSubstitution.Target.ForMember> factory)
Creates a factory that only matches method and constructor invocations for given invocation types.MemberSubstitution
MemberSubstitution.WithoutSpecification.ForMatchedByteCodeElement. replaceWith(MemberSubstitution.Substitution.Factory<? super MemberSubstitution.Target.ForMember> substitutionFactory)
Replaces any interaction with the supplied substitution.MemberSubstitution
MemberSubstitution.WithoutSpecification.ForMatchedField. replaceWith(MemberSubstitution.Substitution.Factory<? super MemberSubstitution.Target.ForMember> substitutionFactory)
Replaces any interaction with the supplied substitution.MemberSubstitution
MemberSubstitution.WithoutSpecification.ForMatchedMethod. replaceWith(MemberSubstitution.Substitution.Factory<? super MemberSubstitution.Target.ForMember> substitutionFactory)
Replaces any interaction with the supplied substitution.Constructor parameters in net.bytebuddy.asm with type arguments of type MemberSubstitution.Target.ForMember Constructor Description Factory(ElementMatcher<? super FieldDescription> fieldMatcher, ElementMatcher<? super MethodDescription> methodMatcher, boolean matchFieldRead, boolean matchFieldWrite, boolean includeVirtualCalls, boolean includeSuperCalls, MemberSubstitution.Substitution.Factory<? super MemberSubstitution.Target.ForMember> substitutionFactory)
Creates a new replacement that triggers a substitution based on a row of matchers.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.
-