Interface FieldDiscoverer.FieldCollector<I,V> 
- Type Parameters:
- I- intermediate type
- V- container type
- Enclosing interface:
- FieldDiscoverer<I>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A collector for the necessary metadata for fields.
- Since:
- 4.0.0
- 
Method SummaryModifier and TypeMethodDescriptionvoidaccept(String name, AnnotatedType type, AnnotatedElement annotations, FieldData.Deserializer<I> deserializer, CheckedFunction<V, @Nullable Object, Exception> serializer) Accept metadata that defines a specific field.
- 
Method Details- 
acceptvoid accept(String name, AnnotatedType type, AnnotatedElement annotations, FieldData.Deserializer<I> deserializer, CheckedFunction<V, @Nullable Object, Exception> serializer) Accept metadata that defines a specific field.- Parameters:
- name- name
- type- declared field type, as resolved as possible
- annotations- combined element containing all annotations applicable to the field
- deserializer- a function to populate the intermediate state with a single deserialized field value.
- serializer- a function to extract a value from a completed object instance.
- Since:
- 4.0.0
 
 
-