Interface FieldAccessor.AssignerConfigurable
- All Superinterfaces:
FieldAccessor.PropertyConfigurable, Implementation, InstrumentedType.Prepareable
- All Known Subinterfaces:
FieldAccessor.OwnerTypeLocatable
- All Known Implementing Classes:
FieldAccessor.ForImplicitProperty
- Enclosing class:
FieldAccessor
public static interface FieldAccessor.AssignerConfigurable
extends FieldAccessor.PropertyConfigurable
A field accessor that can be configured to use a given assigner and runtime type use configuration.
-
Nested Class Summary
Nested classes/interfaces inherited from interface Implementation
Implementation.Composable, Implementation.Compound, Implementation.Context, Implementation.Simple, Implementation.SpecialMethodInvocation, Implementation.TargetNested classes/interfaces inherited from interface InstrumentedType.Prepareable
InstrumentedType.Prepareable.NoOp -
Method Summary
Modifier and TypeMethodDescriptionwithAssigner(Assigner assigner, Assigner.Typing typing) Returns a field accessor that is identical to this field accessor but uses the given assigner and runtime type use configuration.Methods inherited from interface FieldAccessor.PropertyConfigurable
setsArgumentAt, setsDefaultValue, setsFieldValueOf, setsFieldValueOf, setsFieldValueOf, setsFieldValueOf, setsReference, setsReference, setsValue, setsValue, setsValue, setsValue, setsValue, setsValueMethods inherited from interface Implementation
appenderMethods inherited from interface InstrumentedType.Prepareable
prepare
-
Method Details
-
withAssigner
Returns a field accessor that is identical to this field accessor but uses the given assigner and runtime type use configuration.- Parameters:
assigner- The assigner to use.typing- Indicates if dynamic type castings should be attempted for incompatible assignments.- Returns:
- This field accessor with the given assigner and runtime type use configuration.
-