Is it possible to view bytecode of Class file? [duplicate]
问题 This question already has answers here : Closed 6 years ago . Possible Duplicate: Is there a java classfile / bytecode editor to edit instructions? Java source code is compiled into bytecode, which is actually in the class file. Is it possible to view bytecode of a compiled class? If it is possible, can it be edited? Is there an eclipse plugin for that available? 回答1: Yes. You can use the javap command that's included with the JDK to see the byte code of a class. For example: javap -c com