Uses of Interface
net.bytebuddy.asm.MemberSubstitution.Substitution.Factory
-
Packages that use MemberSubstitution.Substitution.Factory Package Description net.bytebuddy.asm The ASM package contains classes that are meant for direct interaction with the ASM API. -
-
Uses of MemberSubstitution.Substitution.Factory in net.bytebuddy.asm
Classes in net.bytebuddy.asm that implement MemberSubstitution.Substitution.Factory Modifier and Type Class Description static classMemberSubstitution.Substitution.Chain.Factory<U extends MemberSubstitution.Target>A factory for creating a substitution chain.static classMemberSubstitution.Substitution.ForFieldAccess.OfGivenFieldA factory for a substitution that substitutes with a given field.static classMemberSubstitution.Substitution.ForFieldAccess.OfMatchedFieldA factory for a substitution that locates a field on the receiver type using a matcher.static classMemberSubstitution.Substitution.ForMethodInvocation.OfGivenMethodA factory for a substitution that invokes a given method.(package private) static classMemberSubstitution.Substitution.ForMethodInvocation.OfInstrumentedMethodA factory for a substitution that invokes the instrumented method.static classMemberSubstitution.Substitution.ForMethodInvocation.OfMatchedMethodA factory for a substitution that locates a method on the receiver type using a matcher.static classMemberSubstitution.Substitution.ForValueA substitution that loads a fixed value.static classMemberSubstitution.Substitution.StubbingA substitution that drops any field or method access and returns the expected return type's default value, i.enullor zero for primitive types.Fields in net.bytebuddy.asm declared as MemberSubstitution.Substitution.Factory Modifier and Type Field Description private MemberSubstitution.Substitution.Factory<? super MemberSubstitution.Target.ForDynamicInvocation>MemberSubstitution.Replacement.ForDynamicInvocation.Factory. substitutionFactoryA factory for creating a substitution.private MemberSubstitution.Substitution.Factory<? super MemberSubstitution.Target.ForMember>MemberSubstitution.Replacement.ForElementMatchers.Factory. substitutionFactoryThe substitution factory to create a substitution from.Methods in net.bytebuddy.asm with parameters of type MemberSubstitution.Substitution.Factory Modifier and Type Method Description protected 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.MemberSubstitutionMemberSubstitution.WithoutSpecification.ForMatchedByteCodeElement. replaceWith(MemberSubstitution.Substitution.Factory<? super MemberSubstitution.Target.ForMember> substitutionFactory)Replaces any interaction with the supplied substitution.MemberSubstitutionMemberSubstitution.WithoutSpecification.ForMatchedDynamicInvocation. replaceWith(MemberSubstitution.Substitution.Factory<? super MemberSubstitution.Target.ForDynamicInvocation> substitutionFactory)MemberSubstitutionMemberSubstitution.WithoutSpecification.ForMatchedField. replaceWith(MemberSubstitution.Substitution.Factory<? super MemberSubstitution.Target.ForMember> substitutionFactory)Replaces any interaction with the supplied substitution.MemberSubstitutionMemberSubstitution.WithoutSpecification.ForMatchedMethod. replaceWith(MemberSubstitution.Substitution.Factory<? super MemberSubstitution.Target.ForMember> substitutionFactory)Replaces any interaction with the supplied substitution.abstract MemberSubstitutionMemberSubstitution.WithoutSpecification. replaceWith(MemberSubstitution.Substitution.Factory<? super T> factory)Replaces any interaction with the supplied substitution.Constructors in net.bytebuddy.asm with parameters of type MemberSubstitution.Substitution.Factory Constructor Description Factory(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.Factory<? super MemberSubstitution.Target.ForDynamicInvocation> substitutionFactory)Creates a factory for a replacement for a replacement for an invokedynamic instruction.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.
-