@HashCodeAndEqualsPlugin.Enhance protected static class MethodCall.TargetHandler.ForValue.Factory extends Object implements MethodCall.TargetHandler.Factory
InstrumentedType.Prepareable.NoOp| Modifier | Constructor and Description | 
|---|---|
| protected  | Factory(Object target,
       TypeDescription.Generic fieldType)Creates a new target handler for a static field. | 
| 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. | 
protected Factory(Object target, TypeDescription.Generic fieldType)
target - The target on which the method is to be invoked.fieldType - The type of the field.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.Copyright © 2014–2021. All rights reserved.