@HashCodeAndEqualsPlugin.Enhance protected static class MethodCall.ArgumentLoader.ForField.Factory extends Object implements MethodCall.ArgumentLoader.Factory
Constructor and Description |
---|
Factory(String name,
FieldLocator.Factory fieldLocatorFactory)
Creates a new argument loader for an existing field.
|
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.
|
public Factory(String name, FieldLocator.Factory fieldLocatorFactory)
name
- The name of the field.fieldLocatorFactory
- The field locator to use.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.Copyright © 2014–2020. All rights reserved.