I'm deconstructing a program, and tracing various .class files from its Referenced Libraries in order to do so. I've tried to use Eclipse's file search but while it can easily find all the .java files given the n开发者_如何学Came it does not seem to be able to find .class files making up the Referenced Libraries' jars the same way. Is there any easy way to trace class files without individually looking through the jars/packages?
I am not sure why you would prefer class-files over java sources (as in order to understand the program, the latter are much more useful), but you should be able to open find the most appropriate files by either
- pressing
F3
on the desired variable / class in the source code which jumps to its definition - searching it by name using
CTRL + SHIFT + R
(orT
to only find types) which lets you find java / class files by name
Search the classes from the project
CTRL + SHIFT + R
Search the classes from the referenced libraries and project
CTRL + SHIFT + T
精彩评论