Package ru.objectsfill.utils
Interface FieldCallback
- All Known Implementing Classes:
RandomValueFieldSetterCallback
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A necessary interface for reflection to traverse fields.
-
Method Summary
-
Method Details
-
doWith
Performs an operation on the given field.- Parameters:
field- the field on which the operation is performed- Throws:
IllegalArgumentException- if the argument is illegal or inappropriateIllegalAccessException- if access to the field is denied
-