Forcing IDEA to open bytecode file

I know IDEA can open .class files when it can't find the source, but how can I force it to open the .class file even having the source in my project?

3 comments

Nope, can't find it. The class in question is an AspectJ .aj file that's got compiled into target/classes/. Now, compiled .aj's have more methods than the source files, so I need to inspect the .class and Ctrl+Shift+N is the first thing I tried, but IDEA simply doesn't see it on the classpath.

0

IDEA won't show you .class files from your sources but you may see the byte code via View|Show Byte Code from your source file. Please ensure that the Byte Code Viewer plugin is enabled.
Thanks

0

Please sign in to leave a comment.