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 I have a specific problem, which Eclipse solves