private List<HierarchyNode> createChildNodes(IType type)
throws Exception
{
ArrayList<HierarchyNode> nodes = new ArrayList<HierarchyNode>();
TypeInfo parentClassInfo = TypeUtils.getSuperClass(type);
String jlo = "java.lang.Object";
if (parentClassInfo != null){
IType parentClass = parentClassInfo.getType();
if(!jlo.equals(JavaUtils.getFullyQualifiedName(parentClass))){
nodes.add(new HierarchyNode(parentClass, createChildNodes(parentClass)));
}
}