How to search string in decompiled .class files in Intellij

Is it possible to find a specific line in decompiled .class files using Find in Path( Ctrl+ Shift+ F) in Intellij?

I want to search in library code for which I don't have source code.

Find does not return any result, despite the fact that the line is present (and visible) in the editor.

+4
source share
2 answers

This is not possible without manually decompiling all classes in advance and attaching the decompiled sources to the library into which you want to search.

IntelliJ IDEA Path . .class. , , .class , . " ", IDE .class , . , , , , .

, , . Gradle/Maven IntelliJ IDEA , /.

, .

IntelliJ IDEA.

+6

(Ctrl + Shift + F) in Intellij Scope > All Places ( )

. . .

-3

Source: https://habr.com/ru/post/1681795/


All Articles