public class DebugHierarchy extends Object
DebugHierarchy
provides a light(er) weight way to track and access information about the
component parentage of a given MountItem
. For a given MountItem
, it provides
access to a linked list of Class
objects representing the class of the Component
and each of it's hierarchy parents.Modifier and Type | Class and Description |
---|---|
static class |
DebugHierarchy.Node |
Modifier and Type | Method and Description |
---|---|
static Object |
getMountItemContent(ComponentHost host,
int mountItemIndex) |
static int |
getMountItemCount(ComponentHost host) |
static DebugHierarchy.Node |
getMountItemHierarchy(ComponentHost host,
int mountItemIndex) |
static String |
getOutputUnitTypeName(int type) |
static DebugHierarchy.Node |
newNode(DebugHierarchy.Node parent,
Component component,
List<Component> components) |
public static DebugHierarchy.Node newNode(DebugHierarchy.Node parent, Component component, List<Component> components)
public static int getMountItemCount(ComponentHost host)
public static Object getMountItemContent(ComponentHost host, int mountItemIndex)
public static DebugHierarchy.Node getMountItemHierarchy(ComponentHost host, int mountItemIndex)
public static String getOutputUnitTypeName(int type)