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 classMemberSubstitution.Substitution.CompoundA compound substitution.static classMemberSubstitution.Substitution.ForElementMatchersA substitution that uses element matchers for determining if a byte code element should be substituted.static classMemberSubstitution.Substitution.NoOpA 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.SubstitutionMemberSubstitution.WithoutSpecification. substitutionThe substitution to apply.Methods in net.bytebuddy.asm that return MemberSubstitution.Substitution Modifier and Type Method Description protected abstract MemberSubstitution.SubstitutionMemberSubstitution.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.SubstitutionMemberSubstitution.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.SubstitutionMemberSubstitution.WithoutSpecification.ForMatchedByteCodeElement. doReplaceWith(FieldDescription fieldDescription)protected MemberSubstitution.SubstitutionMemberSubstitution.WithoutSpecification.ForMatchedByteCodeElement. doReplaceWith(MethodDescription methodDescription)protected MemberSubstitution.SubstitutionMemberSubstitution.WithoutSpecification.ForMatchedField. doReplaceWith(FieldDescription fieldDescription)protected MemberSubstitution.SubstitutionMemberSubstitution.WithoutSpecification.ForMatchedField. doReplaceWith(MethodDescription methodDescription)protected MemberSubstitution.SubstitutionMemberSubstitution.WithoutSpecification.ForMatchedMethod. doReplaceWith(FieldDescription fieldDescription)protected MemberSubstitution.SubstitutionMemberSubstitution.WithoutSpecification.ForMatchedMethod. doReplaceWith(MethodDescription methodDescription)protected abstract MemberSubstitution.SubstitutionMemberSubstitution.WithoutSpecification. doStub()Applies the stubbing for this instance.protected MemberSubstitution.SubstitutionMemberSubstitution.WithoutSpecification.ForMatchedByteCodeElement. doStub()protected MemberSubstitution.SubstitutionMemberSubstitution.WithoutSpecification.ForMatchedField. doStub()protected MemberSubstitution.SubstitutionMemberSubstitution.WithoutSpecification.ForMatchedMethod. doStub()protected static MemberSubstitution.SubstitutionMemberSubstitution.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.SubstitutionMemberSubstitution.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.SubstitutionMemberSubstitution.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.
-