@HashCodeAndEqualsPlugin.Enhance protected static class MethodCall.TargetHandler.ForField.Factory extends java.lang.Object implements MethodCall.TargetHandler.Factory
| Modifier and Type | Field and Description |
|---|---|
private MethodCall.TargetHandler.ForField.Location |
location
The field's location.
|
| Modifier | Constructor and Description |
|---|---|
protected |
Factory(MethodCall.TargetHandler.ForField.Location location)
Creates a new target handler factory for a field location.
|
| Modifier and Type | Method and Description |
|---|---|
MethodCall.TargetHandler |
make(Implementation.Target implementationTarget)
Creates a target handler for a given implementation target.
|
InstrumentedType |
prepare(InstrumentedType instrumentedType)
Prepares a given instrumented type.
|
private final MethodCall.TargetHandler.ForField.Location location
protected Factory(MethodCall.TargetHandler.ForField.Location location)
location - The field's location.public InstrumentedType prepare(InstrumentedType instrumentedType)
prepare in interface InstrumentedType.PrepareableinstrumentedType - The instrumented type in its current form.public MethodCall.TargetHandler make(Implementation.Target implementationTarget)
make in interface MethodCall.TargetHandler.FactoryimplementationTarget - The implementation target to use.