@HashCodeAndEqualsPlugin.Enhance protected static class MethodCall.TargetHandler.ForMethodCall.Factory extends Object implements MethodCall.TargetHandler.Factory
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.
|
public Factory(MethodCall methodCall)
methodCall
- The method call to invoke.public InstrumentedType prepare(InstrumentedType instrumentedType)
prepare
in interface InstrumentedType.Prepareable
instrumentedType
- The instrumented type in its current form.public MethodCall.TargetHandler make(Implementation.Target implementationTarget)
make
in interface MethodCall.TargetHandler.Factory
implementationTarget
- The implementation target to use.Copyright © 2014–2019. All rights reserved.