@HashCodeAndEqualsPlugin.Enhance protected static class MethodCall.ArgumentLoader.ForInstance.Factory extends Object implements MethodCall.ArgumentLoader.Factory
InstrumentedType.Prepareable.NoOp
Constructor and Description |
---|
Factory(Object value)
Creates a factory that loads the value of a static field as an argument.
|
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(Object value)
value
- The value to supply as an argument.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–1970. All rights reserved.