开发者

Searching for .class files in an eclipse project's Referenced Library

开发者 https://www.devze.com 2023-03-19 02:40 出处:网络
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 fi

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 (or T 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
0

精彩评论

暂无评论...
验证码 换一张
取 消