org.netbeans.insane.scanner
Interface Filter
public interface Filter
A filter that controls inclusion of objects in the scan.
Method Summary |
boolean |
accept(java.lang.Object obj,
java.lang.Object referredFrom,
java.lang.reflect.Field reference)
Checks whether the object should be included in the report and whether
it should be further traversed. |
accept
boolean accept(java.lang.Object obj,
java.lang.Object referredFrom,
java.lang.reflect.Field reference)
- Checks whether the object should be included in the report and whether
it should be further traversed.
- Parameters:
obj
- the object, whose inclusion is to be determined.referredFrom
- the object through which the object obj
was found. It may be null, e.g. for static references, or for
objects that were part of the provided rootset.reference
- the field, whose value point to the obj
object. It may be null, e.g. for objects that were part of the rootset
or for references from object array.