1, using the byte code command to view javap
Command format is as follows:
javap -c xxx.class
2, Intellij IDEA view bytecode
View -> Show bytecode
3, Eclipse view bytecode
In Eclipse bytecode view somewhat cumbersome, required to install the plug, and the plug-in window is opened, installation and use is as follows:
Name: bytecode
Location: http://andrei.gmxhome.de/eclipse
After installation need to restart Eclipse to take effect.
Open the Eclipse ByteCode
plug-in window:
Window-> Show View -> Other -> Java -> Bytecode