I am trying to search a specific string in Java code base. I can use simple grep to scan through whole directory structure and it works for string in text based code.
How can I search a string which might be there in .jar file used by some file in Java.
Is there a way to search for a specific string I can search through code as well as in dependent libs.
I am using any IDE. I want to write a script that can search through code.