doWithFields
Invoke the given callback on all fields in the target class, going up the class hierarchy to get all declared fields.
Parameters
clazz
the target class to analyze
fc
the callback to invoke for each field
Throws
if introspection fails
open fun doWithFields(clazz: Class<out Any>, fc: ReflectionUtils.FieldCallback, @Nullable ff: @Nullable ReflectionUtils.FieldFilter)
Invoke the given callback on all fields in the target class, going up the class hierarchy to get all declared fields.
Parameters
clazz
the target class to analyze
fc
the callback to invoke for each field
ff
the filter that determines the fields to apply the callback to
Throws
if introspection fails