@HashCodeAndEqualsPlugin.Enhance public static class MethodCall.ArgumentLoader.ForMethodParameterArrayElement.OfParameter extends Object implements MethodCall.ArgumentLoader.Factory, MethodCall.ArgumentLoader.ArgumentProvider
InstrumentedType.Prepareable.NoOp| Constructor and Description |
|---|
OfParameter(int index,
int arrayIndex)
Creates a factory for an argument loader that loads a given parameter's array value.
|
| Modifier and Type | Method and Description |
|---|---|
MethodCall.ArgumentLoader.ArgumentProvider |
make(Implementation.Target implementationTarget)
Creates an argument provider for the supplied implementation target.
|
InstrumentedType |
prepare(InstrumentedType instrumentedType)
Prepares a given instrumented type.
|
List<MethodCall.ArgumentLoader> |
resolve(MethodDescription instrumentedMethod,
MethodDescription invokedMethod)
Resolves this provider to an argument loader for each provided argument.
|
public OfParameter(int index,
int arrayIndex)
index - The index of the parameter.arrayIndex - The array index to load.public InstrumentedType prepare(InstrumentedType instrumentedType)
prepare in interface InstrumentedType.PrepareableinstrumentedType - The instrumented type in its current form.public MethodCall.ArgumentLoader.ArgumentProvider make(Implementation.Target implementationTarget)
make in interface MethodCall.ArgumentLoader.FactoryimplementationTarget - The implementation target to use.public List<MethodCall.ArgumentLoader> resolve(MethodDescription instrumentedMethod, MethodDescription invokedMethod)
resolve in interface MethodCall.ArgumentLoader.ArgumentProviderinstrumentedMethod - The instrumented method.invokedMethod - The invoked method.Copyright © 2014–2023. All rights reserved.