In Eclipse if I press F3 or open declaration on a reference that is in one of my libraries, it opens a read only copy of the code.
I thought this quite useful at first a
You need to attach correct source when you ctrl+click or press F3 to any class which is in the library. Just click on attach source -> external folder -> attach the src folder of the library you are using. Eclipse will itself find out the correct .java file.
I had the same issue with Action interface in struts 2.0. So i attached the src folder inside my struts directory and bobs your uncle.