protected static interface MethodCall.TargetHandler
MethodCall.| Modifier and Type | Interface and Description | 
|---|---|
static class  | 
MethodCall.TargetHandler.ForConstructingInvocation
Invokes a method in order to construct a new instance. 
 | 
static class  | 
MethodCall.TargetHandler.ForInstanceField
Creates a target handler that stores the instance to invoke a method on in an instance field. 
 | 
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.ForStaticField
A target handler that invokes a method on an instance that is stored in a static field. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
InstrumentedType | 
prepare(InstrumentedType instrumentedType)
Prepares the instrumented type in order to allow for the represented invocation. 
 | 
StackManipulation | 
resolve(MethodDescription methodDescription,
       TypeDescription instrumentedType)
Creates a stack manipulation that represents the method's invocation. 
 | 
StackManipulation resolve(MethodDescription methodDescription, TypeDescription instrumentedType)
methodDescription - The method to be invoked.instrumentedType - The instrumented type.InstrumentedType prepare(InstrumentedType instrumentedType)
instrumentedType - The instrumented type.Copyright © 2014–2015. All rights reserved.