protected static class MethodCall.ArgumentLoader.ForInstanceField.Factory extends Object implements MethodCall.ArgumentLoader.Factory
| Modifier | Constructor and Description |
|---|---|
protected |
Factory(TypeDescription.Generic fieldType,
String fieldName)
Creates a factory for defining a field that is used as an argument.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object) |
int |
hashCode() |
List<MethodCall.ArgumentLoader> |
make(TypeDescription instrumentedType,
MethodDescription instrumentedMethod)
Creates any number of argument loaders for an instrumentation.
|
InstrumentedType |
prepare(InstrumentedType instrumentedType)
Prepares the instrumented type in order to allow the loading of the represented argument.
|
String |
toString() |
protected Factory(TypeDescription.Generic fieldType, String fieldName)
fieldType - The type of the field.fieldName - The name of the field.public InstrumentedType prepare(InstrumentedType instrumentedType)
MethodCall.ArgumentLoader.Factoryprepare in interface MethodCall.ArgumentLoader.FactoryinstrumentedType - The instrumented type.public List<MethodCall.ArgumentLoader> make(TypeDescription instrumentedType, MethodDescription instrumentedMethod)
MethodCall.ArgumentLoader.Factorymake in interface MethodCall.ArgumentLoader.FactoryinstrumentedType - The instrumented type.instrumentedMethod - The instrumented method.Copyright © 2014–2016. All rights reserved.