Module io.github.sugarcubes.cloner
Package io.github.sugarcubes.cloner.spi
Interface FieldAdapterFactory
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Factory of field adapters.
-
Method Summary
Modifier and TypeMethodDescriptionnewAdapter(Field field) Creates an adapter which reads and writes the field.
-
Method Details
-
newAdapter
Creates an adapter which reads and writes the field.- Parameters:
field- field- Returns:
- adapter, or empty if this factory cannot access the field (e.g. its package is not opened)
-