public static class MethodCall.MethodLocator.ForExplicitMethod extends Object implements MethodCall.MethodLocator
MethodCall.MethodLocator.ForExplicitMethod, MethodCall.MethodLocator.ForInstrumentedMethod
Constructor and Description |
---|
ForExplicitMethod(MethodDescription methodDescription)
Creates a new method locator for a given method.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
int |
hashCode() |
MethodDescription |
resolve(MethodDescription instrumentedMethod)
Resolves the method to be invoked.
|
String |
toString() |
public ForExplicitMethod(MethodDescription methodDescription)
methodDescription
- The method to be invoked.public MethodDescription resolve(MethodDescription instrumentedMethod)
MethodCall.MethodLocator
resolve
in interface MethodCall.MethodLocator
instrumentedMethod
- The method being instrumented.Copyright © 2014–2016. All rights reserved.