Package net.bytebuddy.implementation
Interface FieldAccessor.PropertyConfigurable
-
- All Superinterfaces:
Implementation
,InstrumentedType.Prepareable
- All Known Subinterfaces:
FieldAccessor.AssignerConfigurable
,FieldAccessor.OwnerTypeLocatable
- All Known Implementing Classes:
FieldAccessor.ForImplicitProperty
- Enclosing class:
- FieldAccessor
public static interface FieldAccessor.PropertyConfigurable extends Implementation
A field accessor that allows to define the access to be a field write of a given argument.
-
-
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 Implementation.Composable
setsArgumentAt(int index)
Creates a field accessor for the described field that serves as a setter for the supplied parameter index.-
Methods inherited from interface net.bytebuddy.implementation.Implementation
appender
-
Methods inherited from interface net.bytebuddy.dynamic.scaffold.InstrumentedType.Prepareable
prepare
-
-
-
-
Method Detail
-
setsArgumentAt
Implementation.Composable setsArgumentAt(int index)
Creates a field accessor for the described field that serves as a setter for the supplied parameter index. The instrumented method must returnvoid
or a chained instrumentation must be supplied.- Parameters:
index
- The index of the parameter for which to set the field's value.- Returns:
- An instrumentation that sets the parameter's value to the described field.
-
-