public class MemberCollectorRecursiveImpl extends MemberCollectorImpl
| Constructor and Description |
|---|
MemberCollectorRecursiveImpl(boolean onlyAnnotated) |
| 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. |
public MemberCollectorRecursiveImpl(boolean onlyAnnotated)
public <P> void collect(P pojo,
Class<? super P> clazz,
PojoMemberProcessor processor)
throws ProcessingMemberException
MemberCollectorprocessor.
This method performs all logic to exclude members based on their properties, such as annotations or modifiers.
This method targets ElementType.FIELD.
collect in interface MemberCollectorcollect in class MemberCollectorImplP - 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