figure out the class hierarchy

Do you guys know a way to figure out the parent interface/classes of a class without using the debugger, only printlns ?or better yet, wtf does this extend/implement: com.ibm.ws.Transaction.JTA.UserTransactionImpl
[234 byte] By [mkoryaka] at [2007-11-27 4:18:32]
# 1
http://java.sun.com/products/jta/javadocs-1.0.1/javax/transaction/UserTransaction.html?
cotton.ma at 2007-7-12 9:25:20 > top of Java-index,Java Essentials,Java Programming...
# 2
The class most likely implements com.ibm.ws.Transaction.JTA.UserTransaction.You can determine this programatically through the use of Class.getInterfaces() and Class.getSuperclass().
Herko_ter_Horsta at 2007-7-12 9:25:20 > top of Java-index,Java Essentials,Java Programming...
# 3
thanks guys.we arent sure what it implements because we dont have the docs, but you gave us a good start in figuring it out.
mkoryaka at 2007-7-12 9:25:20 > top of Java-index,Java Essentials,Java Programming...