Uses of Interface
net.bytebuddy.asm.MemberSubstitution.Replacement.Factory
Packages that use MemberSubstitution.Replacement.Factory
Package
Description
The ASM package contains classes that are meant for direct interaction with the ASM API.
-
Uses of MemberSubstitution.Replacement.Factory in net.bytebuddy.asm
Classes in net.bytebuddy.asm that implement MemberSubstitution.Replacement.FactoryModifier and TypeClassDescriptionstatic class
A compound factory.protected static class
A factory for creating a replacement that chooses members based on a row of element matchers.static enum
A non-operational replacement.Fields in net.bytebuddy.asm declared as MemberSubstitution.Replacement.FactoryModifier and TypeFieldDescriptionprivate final MemberSubstitution.Replacement.Factory
MemberSubstitution.replacementFactory
The replacement factory to use.protected final MemberSubstitution.Replacement.Factory
MemberSubstitution.WithoutSpecification.replacementFactory
The replacement factory to use for creating substitutions.Fields in net.bytebuddy.asm with type parameters of type MemberSubstitution.Replacement.FactoryModifier and TypeFieldDescriptionprivate final List
<MemberSubstitution.Replacement.Factory> MemberSubstitution.Replacement.Factory.Compound.factories
A list of represented factories.Methods in net.bytebuddy.asm that return MemberSubstitution.Replacement.FactoryModifier and TypeMethodDescriptionprotected static MemberSubstitution.Replacement.Factory
MemberSubstitution.Replacement.ForElementMatchers.Factory.of
(ElementMatcher<? super ByteCodeElement.Member> matcher, MemberSubstitution.Substitution.Factory 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.InDefinedShape> matcher, boolean matchFieldRead, boolean matchFieldWrite, MemberSubstitution.Substitution.Factory 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 factory) Creates a factory that only matches method and constructor invocations for given invocation types.Constructors in net.bytebuddy.asm with parameters of type MemberSubstitution.Replacement.FactoryModifierConstructorDescriptionprotected
Compound
(MemberSubstitution.Replacement.Factory... factory) Creates a new compound factory.protected
ForMatchedByteCodeElement
(MethodGraph.Compiler methodGraphCompiler, MemberSubstitution.TypePoolResolver typePoolResolver, boolean strict, MemberSubstitution.Replacement.Factory replacementFactory, ElementMatcher<? super ByteCodeElement.Member> matcher) Creates a new member substitution for a matched byte code element that requires a specification for how to perform a substitution.protected
ForMatchedField
(MethodGraph.Compiler methodGraphCompiler, MemberSubstitution.TypePoolResolver typePoolResolver, boolean strict, MemberSubstitution.Replacement.Factory replacementFactory, ElementMatcher<? super FieldDescription.InDefinedShape> matcher) Creates a new member substitution for a matched field that requires a specification for how to perform a substitution.protected
ForMatchedField
(MethodGraph.Compiler methodGraphCompiler, MemberSubstitution.TypePoolResolver typePoolResolver, boolean strict, MemberSubstitution.Replacement.Factory replacementFactory, ElementMatcher<? super FieldDescription.InDefinedShape> matcher, boolean matchRead, boolean matchWrite) Creates a new member substitution for a matched field that requires a specification for how to perform a substitution.protected
ForMatchedMethod
(MethodGraph.Compiler methodGraphCompiler, MemberSubstitution.TypePoolResolver typePoolResolver, boolean strict, MemberSubstitution.Replacement.Factory replacementFactory, ElementMatcher<? super MethodDescription> matcher) Creates a new member substitution for a matched method that requires a specification for how to perform a substitution.protected
ForMatchedMethod
(MethodGraph.Compiler methodGraphCompiler, MemberSubstitution.TypePoolResolver typePoolResolver, boolean strict, MemberSubstitution.Replacement.Factory replacementFactory, ElementMatcher<? super MethodDescription> matcher, boolean includeVirtualCalls, boolean includeSuperCalls) Creates a new member substitution for a matched method that requires a specification for how to perform a substitution.protected
MemberSubstitution
(MethodGraph.Compiler methodGraphCompiler, MemberSubstitution.TypePoolResolver typePoolResolver, boolean strict, MemberSubstitution.Replacement.Factory replacementFactory) Creates a new member substitution.protected
WithoutSpecification
(MethodGraph.Compiler methodGraphCompiler, MemberSubstitution.TypePoolResolver typePoolResolver, boolean strict, MemberSubstitution.Replacement.Factory replacementFactory) Creates a new member substitution that requires a specification for how to perform a substitution.Constructor parameters in net.bytebuddy.asm with type arguments of type MemberSubstitution.Replacement.FactoryModifierConstructorDescriptionprotected
Compound
(List<? extends MemberSubstitution.Replacement.Factory> factories) Creates a new compound factory.