public static interface MethodCall.MethodLocator
MethodCall.| Modifier and Type | Interface and Description |
|---|---|
static class |
MethodCall.MethodLocator.ForElementMatcher
A method locator that identifies a unique virtual method.
|
static class |
MethodCall.MethodLocator.ForExplicitMethod
Invokes a given method.
|
static class |
MethodCall.MethodLocator.ForInstrumentedMethod
A method locator that simply returns the intercepted method.
|
| Modifier and Type | Method and Description |
|---|---|
MethodDescription |
resolve(TypeDescription instrumentedType,
TypeDescription targetType,
MethodDescription instrumentedMethod)
Resolves the method to be invoked.
|
MethodDescription resolve(TypeDescription instrumentedType, TypeDescription targetType, MethodDescription instrumentedMethod)
instrumentedType - The instrumented type.targetType - The type the method is called on.instrumentedMethod - The method being instrumented.Copyright © 2014–2018. All rights reserved.