protected static interface MethodCall.ArgumentLoader
Modifier and Type | Interface and Description |
---|---|
static interface |
MethodCall.ArgumentLoader.Factory
A factory that produces
MethodCall.ArgumentLoader s for a given instrumented method. |
static class |
MethodCall.ArgumentLoader.ForBooleanConstant
Loads a
boolean value onto the operand stack. |
static class |
MethodCall.ArgumentLoader.ForByteConstant
Loads a
byte value onto the operand stack. |
static class |
MethodCall.ArgumentLoader.ForCharacterConstant
Loads a
char value onto the operand stack. |
static class |
MethodCall.ArgumentLoader.ForClassConstant
Loads a
Class value onto the operand stack. |
static class |
MethodCall.ArgumentLoader.ForDoubleConstant
Loads a
double value onto the operand stack. |
static class |
MethodCall.ArgumentLoader.ForEnumerationValue
An argument loader that loads an enumeration constant.
|
static class |
MethodCall.ArgumentLoader.ForField
Loads the value of an existing field onto the operand stack.
|
static class |
MethodCall.ArgumentLoader.ForFloatConstant
Loads a
float value 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.ForIntegerConstant
Loads an
int value onto the operand stack. |
static class |
MethodCall.ArgumentLoader.ForJavaConstant
Loads a Java instance onto the operand stack.
|
static class |
MethodCall.ArgumentLoader.ForLongConstant
Loads a
long value 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
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.ForShortConstant
Loads a
short value onto the operand stack. |
static class |
MethodCall.ArgumentLoader.ForTextConstant
Loads a
String value onto the operand stack. |
static class |
MethodCall.ArgumentLoader.ForThisReference
An argument loader that assigns the
this reference to a parameter. |
Modifier and Type | Method and Description |
---|---|
StackManipulation |
resolve(ParameterDescription target,
Assigner assigner,
Assigner.Typing typing)
Loads the argument that is represented by this instance onto the operand stack.
|
StackManipulation resolve(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–2017. All rights reserved.