Package net.bytebuddy.implementation
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 net.bytebuddy.implementation.Implementation
Implementation.Composable, Implementation.Compound, Implementation.Context, Implementation.Simple, Implementation.SpecialMethodInvocation, Implementation.Target
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FieldAccessor.PropertyConfigurable
withAssigner(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 net.bytebuddy.implementation.FieldAccessor.PropertyConfigurable
setsArgumentAt, setsDefaultValue, setsFieldValueOf, setsFieldValueOf, setsFieldValueOf, setsFieldValueOf, setsReference, setsReference, setsValue, setsValue, setsValue, setsValue, setsValue
-
Methods inherited from interface net.bytebuddy.implementation.Implementation
appender
-
Methods inherited from interface net.bytebuddy.dynamic.scaffold.InstrumentedType.Prepareable
prepare
-
-
-
-
Method Detail
-
withAssigner
FieldAccessor.PropertyConfigurable withAssigner(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.- 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.
-
-