public interface ProfilingFilter
Modifier and Type | Method and Description |
---|---|
ProfilingFilter |
duplicateFilter()
Returns a duplicate copy of this filter (deep enough that it is immutable)
|
boolean |
shouldVisitChild(java.lang.Object parent,
java.lang.Object child,
java.lang.String fieldName)
Determines whether or not to visit the child given it's parent and the name
of the field in the parent that the child came from
|
boolean shouldVisitChild(java.lang.Object parent, java.lang.Object child, java.lang.String fieldName)
parent
- The parent objectchild
- The child object that we are thinking of visitingfieldName
- The name of the field in the parent that the child came from@NotNull ProfilingFilter duplicateFilter()