public static class MethodCall.MethodLocator.ForElementMatcher extends Object implements MethodCall.MethodLocator
MethodCall.MethodLocator.ForElementMatcher, MethodCall.MethodLocator.ForExplicitMethod, MethodCall.MethodLocator.ForInstrumentedMethod| Modifier | Constructor and Description | 
|---|---|
protected  | 
ForElementMatcher(ElementMatcher<? super MethodDescription> matcher,
                 MethodGraph.Compiler methodGraphCompiler)
Creates a new method locator for an element matcher. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
MethodDescription | 
resolve(TypeDescription instrumentedType,
       MethodDescription instrumentedMethod)
Resolves the method to be invoked. 
 | 
protected ForElementMatcher(ElementMatcher<? super MethodDescription> matcher, MethodGraph.Compiler methodGraphCompiler)
matcher - The matcher to use.methodGraphCompiler - The method graph compiler to use.public MethodDescription resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod)
MethodCall.MethodLocatorresolve in interface MethodCall.MethodLocatorinstrumentedType - The instrumented type.instrumentedMethod - The method being instrumented.Copyright © 2014–2017. All rights reserved.