@HashCodeAndEqualsPlugin.Enhance protected static class MethodCall.ArgumentLoader.ForMethodCall.Factory extends Object implements MethodCall.ArgumentLoader.Factory
Constructor and Description |
---|
Factory(MethodCall methodCall)
Creates a new argument loader for an existing method call.
|
Modifier and Type | Method and Description |
---|---|
List<MethodCall.ArgumentLoader> |
make(Implementation.Target implementationTarget,
TypeDescription instrumentedType,
MethodDescription instrumentedMethod,
MethodDescription invokedMethod)
Creates any number of argument loaders for an instrumentation.
|
InstrumentedType |
prepare(InstrumentedType instrumentedType)
Prepares a given instrumented type.
|
public Factory(MethodCall methodCall)
methodCall
- The method call to use.public InstrumentedType prepare(InstrumentedType instrumentedType)
prepare
in interface InstrumentedType.Prepareable
instrumentedType
- The instrumented type in its current form.public List<MethodCall.ArgumentLoader> make(Implementation.Target implementationTarget, TypeDescription instrumentedType, MethodDescription instrumentedMethod, MethodDescription invokedMethod)
make
in interface MethodCall.ArgumentLoader.Factory
implementationTarget
- The implementation target.instrumentedType
- The instrumented type.instrumentedMethod
- The instrumented method.invokedMethod
- The invoked method.Copyright © 2014–2018. All rights reserved.