ix.util.reflect
Class InheritanceTree
java.lang.Object
ix.util.reflect.InheritanceTree
public class InheritanceTree
- extends java.lang.Object
A view of class-subclass relationships.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
classToSuperclass
java.util.Map classToSuperclass
classToSubclasses
MultiMap classToSubclasses
relevantClasses
java.util.List relevantClasses
InheritanceTree
public InheritanceTree(java.util.List relevantClasses)
getSuperclass
public java.lang.Class getSuperclass(java.lang.Class c)
getSubclasses
public java.util.List<java.lang.Class> getSubclasses(java.lang.Class c)
clear
public void clear()
assignRelevantSuperclasses
protected void assignRelevantSuperclasses(java.util.List classes)
addSubclass
protected void addSubclass(java.lang.Class superclass,
java.lang.Class subclass)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object