dump(PrintWriter, Object), dump(Object)
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static void | |
| public static String | |
| private static void |
| ObjectTree | back to summary |
|---|---|
| public ObjectTree() | |
| dump | back to summary |
|---|---|
| public static void dump(PrintWriter pw, Object root) Dump the object tree to a | |
| dump | back to summary |
|---|---|
| public static String dump(Object root) Dump the object tree to a | |
| printTree | back to summary |
|---|---|
| private static void printTree(StringBuilder prefix, StringBuilder line, PrintWriter pw, ObjectTree. | |
| Modifier and Type | Field and Description |
|---|---|
| private List | |
| private long | |
| private String | |
| private long |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public static ObjectTree. | |
| public static ObjectTree. | |
| public List | |
| public String | |
| public boolean | |
| private static String |
| children | back to summary |
|---|---|
| private List<ObjectTree. | |
| deepSize | back to summary |
|---|---|
| private long deepSize | |
| name | back to summary |
|---|---|
| private String name | |
| shallowSize | back to summary |
|---|---|
| private long shallowSize | |
| Node | back to summary |
|---|---|
| public Node(String name, Object delegate) | |
| addChild | back to summary |
|---|---|
| private void addChild(ObjectTree. | |
| create | back to summary |
|---|---|
| public static ObjectTree. Factory create method. | |
| create | back to summary |
|---|---|
| public static ObjectTree. Factory create method. | |
| getChildren | back to summary |
|---|---|
| public List | |
| getName | back to summary |
|---|---|
| public String getName() | |
| hasChildren | back to summary |
|---|---|
| public boolean hasChildren() | |
| uniqueName | back to summary |
|---|---|
| private static String uniqueName(Object t, IdentityHashMap<Object, Integer> seen) | |