ofField

public static GetSetter<? extends Object> ofField(@Nullable() Object owner, @NotNull() @NotNull() Field field)(source)

Create a GetSetter backed by a field… This GetSetter will update to and poll from the underlying field without any buffer.

Return

a field backed GetSetter

Parameters

owner

the instance on which to perform the lookup. should be null for static fields

field

the field to read from and write to