Uses of Class
net.bytebuddy.asm.MemberSubstitution.Target.ForMember
Packages that use MemberSubstitution.Target.ForMember
Package
Description
The ASM package contains classes that are meant for direct interaction with the ASM API.
-
Uses of MemberSubstitution.Target.ForMember in net.bytebuddy.asm
Subclasses with type arguments of type MemberSubstitution.Target.ForMember in net.bytebuddy.asmModifier and TypeClassDescriptionprotected static classDescribes a member substitution that requires a specification for how to replace a byte code element.static classDescribes a member substitution that requires a specification for how to replace a field.static classDescribes a member substitution that requires a specification for how to replace a method or constructor.Fields in net.bytebuddy.asm with type parameters of type MemberSubstitution.Target.ForMemberModifier and TypeFieldDescriptionprivate final MemberSubstitution.Substitution<? super MemberSubstitution.Target.ForMember> MemberSubstitution.Replacement.Binding.ForMember.substitutionThe substitution to apply.private final MemberSubstitution.Substitution<? super MemberSubstitution.Target.ForMember> MemberSubstitution.Replacement.ForElementMatchers.substitutionThe substitution to trigger if a member is matched.private final MemberSubstitution.Substitution.Factory<? super MemberSubstitution.Target.ForMember> MemberSubstitution.Replacement.ForElementMatchers.Factory.substitutionFactoryThe substitution factory to create a substitution from.Methods in net.bytebuddy.asm that return types with arguments of type MemberSubstitution.Target.ForMemberModifier and TypeMethodDescriptionMemberSubstitution.constructor(ElementMatcher<? super MethodDescription> matcher) Substitutes any constructor invocation that matches the given matcher.MemberSubstitution.element(ElementMatcher<? super ByteCodeElement.Member> matcher) Substitutes any interaction with a field or method that matches the given matcher.MemberSubstitution.invokable(ElementMatcher<? super MethodDescription> matcher) Substitutes any method or constructor invocation that matches the given matcher.MemberSubstitution.WithoutSpecification.ForMatchedField.onRead()When invoked, only read access of the previously matched field is substituted.MemberSubstitution.WithoutSpecification.ForMatchedMethod.onSuperCall()Limits the substituted method calls to method calls that invoke a method as asupercall.MemberSubstitution.WithoutSpecification.ForMatchedMethod.onVirtualCall()Limits the substituted method calls to method calls that invoke a method virtually (as opposed to asuperinvocation).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.ForMemberModifier and TypeMethodDescriptionprotected static MemberSubstitution.Replacement.FactoryMemberSubstitution.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.FactoryMemberSubstitution.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.FactoryMemberSubstitution.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.WithoutSpecification.ForMatchedByteCodeElement.replaceWith(MemberSubstitution.Substitution.Factory<? super MemberSubstitution.Target.ForMember> substitutionFactory) Replaces any interaction with the supplied substitution.MemberSubstitution.WithoutSpecification.ForMatchedField.replaceWith(MemberSubstitution.Substitution.Factory<? super MemberSubstitution.Target.ForMember> substitutionFactory) Replaces any interaction with the supplied substitution.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.ForMemberModifierConstructorDescriptionprotectedFactory(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.protectedForElementMatchers(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.protectedForMember(TypeDescription receiver, ByteCodeElement.Member member, MemberSubstitution.Substitution<? super MemberSubstitution.Target.ForMember> substitution) Creates a new resolved binding.