How to create a dict that contains Java Classes hierarchy (in Python)?
<p>I'm creating a class diagram drawer for Java and I need to look into standard Java Classes to check whether two classes have common ancestor (some additional feature). I was thinking of creating a dict that will contain class hierarchy, but I have no idea how to create it. The first thing I found is to create it from text file, that will use information from there: <a href="http://docs.oracle.com/javase/6/docs/api/allclasses-frame.html" rel="nofollow">http://docs.oracle.com/javase/6/docs/api/allclasses-frame.html</a>. But I don't think it's the best solution. Any other ideas?</p>
