public static class MethodCall.ArgumentLoader.ForMethodParameterArray extends Object implements MethodCall.ArgumentLoader
Modifier and Type | Class and Description |
---|---|
static class |
MethodCall.ArgumentLoader.ForMethodParameterArray.ForInstrumentedMethod
A factory that creates an arguments loader that loads all parameters of the instrumented method contained in an array.
|
MethodCall.ArgumentLoader.Factory, MethodCall.ArgumentLoader.ForField, MethodCall.ArgumentLoader.ForInstance, MethodCall.ArgumentLoader.ForInstrumentedType, MethodCall.ArgumentLoader.ForMethodParameter, MethodCall.ArgumentLoader.ForMethodParameterArray, MethodCall.ArgumentLoader.ForMethodParameterArrayElement, MethodCall.ArgumentLoader.ForNullConstant, MethodCall.ArgumentLoader.ForStackManipulation, MethodCall.ArgumentLoader.ForThisReference
Constructor and Description |
---|
ForMethodParameterArray(ParameterList<?> parameters)
Creates an argument loader that loads the supplied parameters onto the operand stack.
|
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.
|
public ForMethodParameterArray(ParameterList<?> parameters)
parameters
- The parameters to load.public StackManipulation resolve(ParameterDescription target, Assigner assigner, Assigner.Typing typing)
MethodCall.ArgumentLoader
resolve
in interface MethodCall.ArgumentLoader
target
- The target parameter.assigner
- The assigner to be used.typing
- Indicates if dynamic type castings should be attempted for incompatible assignments.Copyright © 2014–2018. All rights reserved.