public static interface MethodCall.MethodLocator
MethodCall
.Modifier and Type | Interface and Description |
---|---|
static interface |
MethodCall.MethodLocator.Factory
A factory for creating a method locator.
|
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 targetType,
MethodDescription instrumentedMethod)
Resolves the method to be invoked.
|
MethodDescription resolve(TypeDescription targetType, MethodDescription instrumentedMethod)
targetType
- The type the method is called on.instrumentedMethod
- The method being instrumented.Copyright © 2014–2024. All rights reserved.