protected static interface MethodCall.TargetHandler
MethodCall.| Modifier and Type | Interface and Description | 
|---|---|
static interface  | 
MethodCall.TargetHandler.Factory
A factory for creating a target handler. 
 | 
static class  | 
MethodCall.TargetHandler.ForConstructingInvocation
Invokes a method in order to construct a new instance. 
 | 
static class  | 
MethodCall.TargetHandler.ForField
Creates a target handler that stores the instance to invoke a method on in an instance field. 
 | 
static class  | 
MethodCall.TargetHandler.ForMethodCall
A target handler that executes the method and uses it's return value as the target object. 
 | 
static class  | 
MethodCall.TargetHandler.ForMethodParameter
A target handler that loads the parameter of the given index as the target object. 
 | 
static class  | 
MethodCall.TargetHandler.ForSelfOrStaticInvocation
A target handler that invokes a method either on the instance of the instrumented
 type or as a static method. 
 | 
static class  | 
MethodCall.TargetHandler.ForValue
A target handler that invokes a method on an instance that is stored in a static field. 
 | 
static interface  | 
MethodCall.TargetHandler.Resolved
A resolved target handler. 
 | 
static class  | 
MethodCall.TargetHandler.Simple
A simple target handler that applies a given stack manipulation. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
MethodCall.TargetHandler.Resolved | 
resolve(MethodDescription instrumentedMethod)
Resolves this target handler. 
 | 
MethodCall.TargetHandler.Resolved resolve(MethodDescription instrumentedMethod)
instrumentedMethod - The instrumented method.Copyright © 2014–2024. All rights reserved.