public static interface MethodCall.ArgumentLoader
| Modifier and Type | Interface and Description | 
|---|---|
static interface  | 
MethodCall.ArgumentLoader.ArgumentProvider
An argument provider is responsible for providing an argument loader for each argument to supply to a method. 
 | 
static interface  | 
MethodCall.ArgumentLoader.Factory
A factory that produces  
MethodCall.ArgumentLoaders for a given instrumented method. | 
static class  | 
MethodCall.ArgumentLoader.ForField
Loads the value of an existing field onto the operand stack. 
 | 
static class  | 
MethodCall.ArgumentLoader.ForInstance
Loads a value onto the operand stack that is stored in a static field. 
 | 
static class  | 
MethodCall.ArgumentLoader.ForInstrumentedType
Loads the instrumented type onto the operand stack. 
 | 
static class  | 
MethodCall.ArgumentLoader.ForMethodCall
Loads the return value of a method call onto the operand stack. 
 | 
static class  | 
MethodCall.ArgumentLoader.ForMethodParameter
Loads a parameter of the instrumented method onto the operand stack. 
 | 
static class  | 
MethodCall.ArgumentLoader.ForMethodParameterArray
Loads an array containing all arguments of a method. 
 | 
static class  | 
MethodCall.ArgumentLoader.ForMethodParameterArrayElement
An argument loader that loads an element of a parameter of an array type. 
 | 
static class  | 
MethodCall.ArgumentLoader.ForNullConstant
An argument loader that loads the  
null value onto the operand stack. | 
static class  | 
MethodCall.ArgumentLoader.ForStackManipulation
Loads a stack manipulation resulting in a specific type as an argument. 
 | 
static class  | 
MethodCall.ArgumentLoader.ForThisReference
An argument loader that assigns the  
this reference to a parameter. | 
| Modifier and Type | Method and Description | 
|---|---|
StackManipulation | 
toStackManipulation(ParameterDescription target,
                   Assigner assigner,
                   Assigner.Typing typing)
Loads the argument that is represented by this instance onto the operand stack. 
 | 
StackManipulation toStackManipulation(ParameterDescription target, Assigner assigner, Assigner.Typing typing)
target - The target parameter.assigner - The assigner to be used.typing - Indicates if dynamic type castings should be attempted for incompatible assignments.Copyright © 2014–2021. All rights reserved.