@HashCodeAndEqualsPlugin.Enhance public static class MethodCall.MethodLocator.ForExplicitMethod extends Object implements MethodCall.MethodLocator, MethodCall.MethodLocator.Factory
MethodCall.MethodLocator.Factory, MethodCall.MethodLocator.ForElementMatcher, MethodCall.MethodLocator.ForExplicitMethod, MethodCall.MethodLocator.ForInstrumentedMethod| Modifier | Constructor and Description | 
|---|---|
protected  | 
ForExplicitMethod(MethodDescription methodDescription)
Creates a new method locator for a given method. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
MethodCall.MethodLocator | 
make(TypeDescription instrumentedType)
Creates a method locator for a given instrumented type. 
 | 
MethodDescription | 
resolve(TypeDescription targetType,
       MethodDescription instrumentedMethod)
Resolves the method to be invoked. 
 | 
protected ForExplicitMethod(MethodDescription methodDescription)
methodDescription - The method to be invoked.public MethodCall.MethodLocator make(TypeDescription instrumentedType)
make in interface MethodCall.MethodLocator.FactoryinstrumentedType - The instrumented type.public MethodDescription resolve(TypeDescription targetType, MethodDescription instrumentedMethod)
resolve in interface MethodCall.MethodLocatortargetType - The type the method is called on.instrumentedMethod - The method being instrumented.Copyright © 2014–2021. All rights reserved.