@HashCodeAndEqualsPlugin.Enhance public static class MemberSubstitution.Substitution.ForMethodInvocation.OfMatchedMethod extends Object implements MemberSubstitution.Substitution.Factory
| Constructor and Description | 
|---|
| OfMatchedMethod(ElementMatcher<? super MethodDescription> matcher,
               MethodGraph.Compiler methodGraphCompiler)Creates a factory for a substitution that locates a method on the receiver type. | 
| Modifier and Type | Method and Description | 
|---|---|
| MemberSubstitution.Substitution | make(TypeDescription instrumentedType,
    MethodDescription instrumentedMethod,
    TypePool typePool)Creates a substitution for an instrumented method. | 
public OfMatchedMethod(ElementMatcher<? super MethodDescription> matcher, MethodGraph.Compiler methodGraphCompiler)
matcher - The matcher for locating the method to substitute with.methodGraphCompiler - The method graph compiler to use.public MemberSubstitution.Substitution make(TypeDescription instrumentedType, MethodDescription instrumentedMethod, TypePool typePool)
make in interface MemberSubstitution.Substitution.FactoryinstrumentedType - The instrumented type.instrumentedMethod - The instrumented method.typePool - The type pool being used.Copyright © 2014–2025. All rights reserved.