Class Traverser
- java.lang.Object
-
- dev.aherscu.qa.testing.extra.supermachine.traverser.Traverser
-
public class Traverser extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
Traverser.Visitor
-
Constructor Summary
Constructors Constructor Description Traverser()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
traverse(Object o, Class[] skip, Class stopClass, Traverser.Visitor visitor)
-
-
-
Method Detail
-
traverse
public static void traverse(Object o, Class[] skip, Class stopClass, Traverser.Visitor visitor)
- Parameters:
o
- Any Java Objectskip
- String[] of class names to not include in the tallystopClass
- stopClassvisitor
- Visitor is called for every object encountered during the Java object graph traverser.
-
-