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.Compound
A compound substitution.static class
MemberSubstitution.Substitution.ForElementMatchers
A substitution that uses element matchers for determining if a byte code element should be substituted.static class
MemberSubstitution.Substitution.NoOp
A substitution that does not substitute any byte code elements.Fields in net.bytebuddy.asm declared as MemberSubstitution.Substitution Modifier and Type Field Description protected MemberSubstitution.Substitution
MemberSubstitution.WithoutSpecification. substitution
The substitution to apply.Methods in net.bytebuddy.asm that return MemberSubstitution.Substitution Modifier and Type Method Description protected abstract MemberSubstitution.Substitution
MemberSubstitution.WithoutSpecification. doReplaceWith(FieldDescription fieldDescription)
Creates a substitution for replacing the byte code elements matched by this instance with an access of the specified field.protected abstract MemberSubstitution.Substitution
MemberSubstitution.WithoutSpecification. doReplaceWith(MethodDescription methodDescription)
Creates a substitution for replacing the byte code elements matched by this instance with an invocation of the specified method.protected MemberSubstitution.Substitution
MemberSubstitution.WithoutSpecification.ForMatchedByteCodeElement. doReplaceWith(FieldDescription fieldDescription)
protected MemberSubstitution.Substitution
MemberSubstitution.WithoutSpecification.ForMatchedByteCodeElement. doReplaceWith(MethodDescription methodDescription)
protected MemberSubstitution.Substitution
MemberSubstitution.WithoutSpecification.ForMatchedField. doReplaceWith(FieldDescription fieldDescription)
protected MemberSubstitution.Substitution
MemberSubstitution.WithoutSpecification.ForMatchedField. doReplaceWith(MethodDescription methodDescription)
protected MemberSubstitution.Substitution
MemberSubstitution.WithoutSpecification.ForMatchedMethod. doReplaceWith(FieldDescription fieldDescription)
protected MemberSubstitution.Substitution
MemberSubstitution.WithoutSpecification.ForMatchedMethod. doReplaceWith(MethodDescription methodDescription)
protected abstract MemberSubstitution.Substitution
MemberSubstitution.WithoutSpecification. doStub()
Applies the stubbing for this instance.protected MemberSubstitution.Substitution
MemberSubstitution.WithoutSpecification.ForMatchedByteCodeElement. doStub()
protected MemberSubstitution.Substitution
MemberSubstitution.WithoutSpecification.ForMatchedField. doStub()
protected MemberSubstitution.Substitution
MemberSubstitution.WithoutSpecification.ForMatchedMethod. doStub()
protected static MemberSubstitution.Substitution
MemberSubstitution.Substitution.ForElementMatchers. of(ElementMatcher<? super ByteCodeElement> matcher, MemberSubstitution.Substitution.Resolver resolver)
Creates a substitution for any byte code element that matches the supplied matcher.protected static MemberSubstitution.Substitution
MemberSubstitution.Substitution.ForElementMatchers. ofField(ElementMatcher<? super FieldDescription.InDefinedShape> matcher, boolean matchFieldRead, boolean matchFieldWrite, MemberSubstitution.Substitution.Resolver resolver)
Creates a substitution for any method that matches the supplied matcher.protected static MemberSubstitution.Substitution
MemberSubstitution.Substitution.ForElementMatchers. ofMethod(ElementMatcher<? super MethodDescription> matcher, boolean includeVirtualCalls, boolean includeSuperCalls, MemberSubstitution.Substitution.Resolver resolver)
Creates a substitution for any method that matches the supplied matcher.Constructors in net.bytebuddy.asm with parameters of type MemberSubstitution.Substitution Constructor Description Compound(MemberSubstitution.Substitution... substitution)
Creates a new compound substitution.ForMatchedByteCodeElement(MethodGraph.Compiler methodGraphCompiler, MemberSubstitution.TypePoolResolver typePoolResolver, boolean strict, MemberSubstitution.Substitution substitution, ElementMatcher<? super ByteCodeElement> matcher)
Creates a new member substitution for a matched byte code element that requires a specification for how to perform a substitution.ForMatchedField(MethodGraph.Compiler methodGraphCompiler, MemberSubstitution.TypePoolResolver typePoolResolver, boolean strict, MemberSubstitution.Substitution substitution, ElementMatcher<? super FieldDescription.InDefinedShape> matcher)
Creates a new member substitution for a matched field that requires a specification for how to perform a substitution.ForMatchedField(MethodGraph.Compiler methodGraphCompiler, MemberSubstitution.TypePoolResolver typePoolResolver, boolean strict, MemberSubstitution.Substitution substitution, 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.ForMatchedMethod(MethodGraph.Compiler methodGraphCompiler, MemberSubstitution.TypePoolResolver typePoolResolver, boolean strict, MemberSubstitution.Substitution substitution, ElementMatcher<? super MethodDescription> matcher)
Creates a new member substitution for a matched method that requires a specification for how to perform a substitution.ForMatchedMethod(MethodGraph.Compiler methodGraphCompiler, MemberSubstitution.TypePoolResolver typePoolResolver, boolean strict, MemberSubstitution.Substitution substitution, 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.SubstitutingMethodVisitor(org.objectweb.asm.MethodVisitor methodVisitor, MethodGraph.Compiler methodGraphCompiler, boolean strict, MemberSubstitution.Substitution substitution, TypeDescription instrumentedType, Implementation.Context implementationContext, TypePool typePool)
Creates a new substituting method visitor.WithoutSpecification(MethodGraph.Compiler methodGraphCompiler, MemberSubstitution.TypePoolResolver typePoolResolver, boolean strict, MemberSubstitution.Substitution substitution)
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.Substitution Constructor Description Compound(java.util.List<? extends MemberSubstitution.Substitution> substitutions)
Creates a new compound substitution.
-