public interface MemberCollector
| Modifier and Type | Method and Description |
|---|---|
<P> void |
collect(P pojo,
Class<? super P> clazz,
PojoMemberProcessor processor)
Tries to find all listeners, settings, and groups in a specified POJO,
passing them on to the given
processor. |
<P> void collect(P pojo,
Class<? super P> clazz,
PojoMemberProcessor processor)
throws ProcessingMemberException
processor.
This method performs all logic to exclude members based on their properties, such as annotations or modifiers.
This method targets ElementType.FIELD.
P - the generic pojo typepojo - the instance of the POJO to scanclazz - the class to scanprocessor - the member processorProcessingMemberException - if something went wrong while processing a member