@HashCodeAndEqualsPlugin.Enhance protected static class MethodCall.TargetHandler.ForMethodCall.Factory extends java.lang.Object implements MethodCall.TargetHandler.Factory
| Modifier and Type | Field and Description |
|---|---|
private MethodCall |
methodCall
The method call to invoke.
|
| Constructor and Description |
|---|
Factory(MethodCall methodCall)
Creates a new factory for invoking another method call as a method target.
|
| 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 methodCall
public Factory(MethodCall methodCall)
methodCall - The method call to invoke.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.