@HashCodeAndEqualsPlugin.Enhance public static class MethodCall.ArgumentLoader.ForMethodParameterArrayElement.OfInvokedMethod extends Object implements MethodCall.ArgumentLoader.Factory, MethodCall.ArgumentLoader.ArgumentProvider
Constructor and Description |
---|
OfInvokedMethod(int index)
Creates an argument loader factory for an invoked method.
|
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 OfInvokedMethod(int index)
index
- The parameter index.public InstrumentedType prepare(InstrumentedType instrumentedType)
prepare
in interface InstrumentedType.Prepareable
instrumentedType
- The instrumented type in its current form.public MethodCall.ArgumentLoader.ArgumentProvider make(Implementation.Target implementationTarget)
make
in interface MethodCall.ArgumentLoader.Factory
implementationTarget
- The implementation target to use.public List<MethodCall.ArgumentLoader> resolve(MethodDescription instrumentedMethod, MethodDescription invokedMethod)
resolve
in interface MethodCall.ArgumentLoader.ArgumentProvider
instrumentedMethod
- The instrumented method.invokedMethod
- The invoked method.Copyright © 2014–2020. All rights reserved.