@HashCodeAndEqualsPlugin.Enhance public static class MethodCall.MethodLocator.ForElementMatcher.Factory extends Object implements MethodCall.MethodLocator.Factory
| Constructor and Description | 
|---|
Factory(ElementMatcher<? super MethodDescription> matcher,
       MethodGraph.Compiler methodGraphCompiler)
Creates a factory for a method locator that identifies a method using a matcher. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
MethodCall.MethodLocator | 
make(TypeDescription instrumentedType)
Creates a method locator for a given instrumented type. 
 | 
public Factory(ElementMatcher<? super MethodDescription> matcher, MethodGraph.Compiler methodGraphCompiler)
matcher - The matcher to use.methodGraphCompiler - The method graph compiler to use.public MethodCall.MethodLocator make(TypeDescription instrumentedType)
make in interface MethodCall.MethodLocator.FactoryinstrumentedType - The instrumented type.Copyright © 2014–2021. All rights reserved.