title: Getting the Class hierarchy in Java?
body: <p>I have a specific problem, which Eclipse solves perfectly, but I need a programmatic solution.
  What I want to do is get the "Type hierarchy" of any class that I provide.
  Eclipse does show a solution on pressing <kbd>Ctrl</kbd>+<kbd>T</kbd>, but how does it achieve this?
  Are there any APIs available so that I can use them?</p>