generates tree of class and interface hierarchy for a given java class