jdk/bin provides a tool called 'javap'. Which can be used to get the information about any class. It displays methods, constructors, parents etc. of any class.
javap java.lang.String
This is a similar custom javap tool built using Reflection API's.
$ javac Javap.java
$ java Javap java.lang.String
$ vim String.txt